We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UnifiedTest
1 parent f430b7e commit cf175d4Copy full SHA for cf175d4
driver-sync/src/test/functional/com/mongodb/client/unified/UnifiedTest.java
@@ -261,7 +261,16 @@ public void setUp(
261
@AfterEach
262
public void cleanUp() {
263
for (FailPoint failPoint : failPoints) {
264
- failPoint.disableFailPoint();
+ try {
265
+ // BULK-TODO remove the try-catch block
266
+ failPoint.disableFailPoint();
267
+ } catch (Throwable e) {
268
+ for (Throwable suppressed : e.getSuppressed()) {
269
+ if (suppressed instanceof TestAbortedException) {
270
+ throw (TestAbortedException) suppressed;
271
+ }
272
273
274
}
275
entities.close();
276
0 commit comments