yuqi1129 commented on code in PR #13668:
URL: https://github.com/apache/gravitino/pull/13668#discussion_r4213758079
##########
core/src/test/java/org/apache/gravitino/listener/TestTableEventDispatcher.java:
##########
@@ -127,6 +130,60 @@ void
testExtrasDoNotLeakIntoTheNextOperationOnTheSameThread() {
second.customInfo().isEmpty(), "Extras must not survive into a later
operation");
}
+ /**
+ * A failure-event listener must not be able to mask the original
create-table failure: when the
+ * dispatcher throws, the {@link CreateTableFailureEvent} listener exception
is swallowed by the
+ * {@link EventBus} so callers still see the original exception.
+ */
+ @Test
+ void
testCreateTableFailureEventShouldNotMaskOriginalExceptionWhenListenerThrows() {
Review Comment:
So, the problem has already been fixed, and only tests are needed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]