sanpwc commented on code in PR #3629:
URL: https://github.com/apache/ignite-3/pull/3629#discussion_r1579605232
##########
modules/code-deployment/src/test/java/org/apache/ignite/deployment/metastore/DeploymentUnitStoreImplTest.java:
##########
@@ -102,12 +102,12 @@ public void setup() {
ClusterStatusWatchListener clusterListener = new
ClusterStatusWatchListener(clusterEventCallback);
metastore.registerClusterStatusListener(clusterListener);
- metaStorageManager.start();
+ assertThat(metaStorageManager.startAsync(),
willCompleteSuccessfully());
toStop = () -> {
nodeListener.stop();
try {
- metaStorageManager.stop();
+ assertThat(metaStorageManager.stopAsync(),
willCompleteSuccessfully());
} catch (Exception e) {
Review Comment:
Here and there, stopAsync no longer throws Exception, thus no need to catch
it.
--
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]