Skip to content

Commit

Permalink
timers
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfran committed Oct 8, 2023
1 parent ab62125 commit 98b8593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/tomfran/lsm/tree/LSMTreeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void writeFlush() throws InterruptedException {

IntStream.range(0, maxSize + 2).forEach(i -> tree.add(getRandomPair()));

Thread.sleep(2000);
Thread.sleep(500);

assert tree.mutableMemtable.size() >= 1 : "mutable memtable size is " + tree.mutableMemtable.size();
assert !tree.tables.isEmpty() : "table is null";
Expand All @@ -44,7 +44,7 @@ public void writeFlow() throws InterruptedException {
});


Thread.sleep(2000);
Thread.sleep(500);

for (var it : items.entrySet())
assert compare(tree.get(it.getKey()), it.getValue()) == 0;
Expand Down

0 comments on commit 98b8593

Please sign in to comment.