Skip to content

Commit 8788682

Browse files
committed
fix bug of testWriteAndQuery
1 parent 0dabe59 commit 8788682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/src/test/java/org/tron/core/jsonrpc/SectionBloomStoreTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ public void testWriteAndQuery() {
140140
Assert.assertTrue(possibleBlockList.contains(10000L));
141141
} catch (Exception e) {
142142
Assert.fail();
143-
} finally {
144-
sectionExecutor.shutdown();
145143
}
146144

147145
//query multi address
@@ -237,5 +235,7 @@ public void testWriteAndQuery() {
237235
} catch (Exception e) {
238236
Assert.fail();
239237
}
238+
239+
sectionExecutor.shutdownNow();
240240
}
241241
}

0 commit comments

Comments
 (0)