rpuch commented on code in PR #7815:
URL: https://github.com/apache/ignite-3/pull/7815#discussion_r2979452493
##########
modules/schema-sync/src/integrationTest/java/org/apache/ignite/internal/schemasync/ItBlockedSchemaSyncAndRaftCommandExecutionTest.java:
##########
@@ -85,8 +89,11 @@ void operationBlockedOnSchemaSyncDoesNotPreventNodeStop()
throws Exception {
assertTimeoutPreemptively(Duration.ofSeconds(10), () ->
cluster.stopNode(0));
- //noinspection ThrowableNotThrown
- assertWillThrowCausedBy(inhibitorAndFuture.future,
NodeStoppingException.class);
+ Exception ex = assertWillThrow(inhibitorAndFuture.future,
Exception.class);
Review Comment:
Because now one of 2 exception types can be thrown. The old code did not
support such maltiplicity
--
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]