mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
fix readdTest
This commit is contained in:
@@ -144,7 +144,7 @@ public class HashSetDelayedBlockingQueueTest {
|
||||
}
|
||||
});
|
||||
var thing = queue.getAllWait(); // Theoretically you can get one...
|
||||
if (thing.size() == 1) thing.add(queue.getAllWait());
|
||||
if (thing.size() == 1) thing.add(queue.getAllWait().stream().findFirst());
|
||||
var gotTime = System.currentTimeMillis();
|
||||
Assertions.assertIterableEquals(List.of("hello1", "hello2"), thing);
|
||||
Assertions.assertTrue((gotTime - curTime) >= 1810);
|
||||
|
||||
Reference in New Issue
Block a user