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.
1 parent f57a2a1 commit 62ad248Copy full SHA for 62ad248
src/test/java/com/rbatllet/blockchain/maintenance/OffChainCleanupServiceTest.java
@@ -1281,6 +1281,16 @@ void testConcurrentCompressionOperations() throws Exception {
1281
);
1282
executor.shutdown();
1283
1284
+ // Additional wait for file system operations to complete
1285
+ // File I/O and compression can take additional time even after threads complete
1286
+ assertTrue(
1287
+ executor.awaitTermination(30, TimeUnit.SECONDS),
1288
+ "Executor should terminate after completion"
1289
+ );
1290
+
1291
+ // Additional buffer time for file system write operations
1292
+ Thread.sleep(2000);
1293
1294
// Verify no exceptions
1295
if (!exceptions.isEmpty()) {
1296
fail(
0 commit comments