Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test
Browse files Browse the repository at this point in the history
JavokhirAbdullayev committed Aug 27, 2024
1 parent f3d5d3d commit 35f6eb1
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -135,11 +135,15 @@ public static void setUpClass() {
}

@AfterClass
public static void afterClass(TestContext context) {
public static void tearDownClass(TestContext context) {
Async async = context.async();
vertx.close(ar -> {
cluster.stop();
async.complete();
if (ar.succeeded()) {
cluster.stop();
async.complete();
} else {
context.fail(ar.cause());
}
});
}

0 comments on commit 35f6eb1

Please sign in to comment.