Skip to content

Commit

Permalink
tear down test cluster in testing thread which may cause uncertainty …
Browse files Browse the repository at this point in the history
…of the test result
  • Loading branch information
popduke committed Sep 14, 2024
1 parent 8cb12a9 commit 4885cc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected void doTearDown(Method method) {
if (cluster != null) {
log.info("Shutting down test cluster");
KVRangeStoreTestCluster lastCluster = this.cluster;
new Thread(lastCluster::shutdown).start();
lastCluster.shutdown();
}
}

Expand Down

0 comments on commit 4885cc1

Please sign in to comment.