sanpwc commented on code in PR #3629:
URL: https://github.com/apache/ignite-3/pull/3629#discussion_r1579867816
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/exec/ddl/DdlCommandHandlerExceptionHandlingTest.java:
##########
@@ -53,18 +53,18 @@ public class DdlCommandHandlerExceptionHandlingTest extends
IgniteAbstractTest {
void before() {
HybridClock clock = new HybridClockImpl();
catalogManager = createTestCatalogManager("test", clock);
- assertThat(catalogManager.start(), willCompleteSuccessfully());
+ assertThat(catalogManager.startAsync(), willCompleteSuccessfully());
clockWaiter = new ClockWaiter("test", clock);
- assertThat(clockWaiter.start(), willCompleteSuccessfully());
+ assertThat(clockWaiter.startAsync(), willCompleteSuccessfully());
commandHandler = new DdlCommandHandler(catalogManager, new
TestClockService(clock, clockWaiter), () -> 100);
}
@AfterEach
public void after() throws Exception {
- clockWaiter.stop();
- catalogManager.stop();
+ assertThat(clockWaiter.stopAsync(), willCompleteSuccessfully());
Review Comment:
IgniteUtils.stopAsync()
--
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]