Skip to content

Commit 571443f

Browse files
authored
test: Fix active user test for InmemoryDB (#603)
1 parent 0f61e18 commit 571443f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/io/supertokens/test/ActiveUsersTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public void updateAndCountUserLastActiveTest() throws Exception {
5555

5656
assert ActiveUsers.countUsersActiveSince(main, now) == 2;
5757

58+
Thread.sleep(100);
59+
5860
long now2 = System.currentTimeMillis();
5961

6062
ActiveUsers.updateLastActive(main, "user1");

0 commit comments

Comments
 (0)