File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/supertokens/test/session Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,9 @@ public void createRefreshTokenAndLoadAfterProcessRestart()
134
134
assertEquals ("antiCsrfToken" , infoFromToken .antiCsrfToken );
135
135
assertNull (infoFromToken .parentRefreshTokenHash2 );
136
136
assertSame (infoFromToken .type , TYPE .FREE_OPTIMISED );
137
- // -5000 for some grace period for creation and checking above
137
+ // -10000 for some grace period for creation and checking above
138
138
assertTrue (tokenInfo .expiry > System .currentTimeMillis ()
139
- + Config .getConfig (process .getProcess ()).getRefreshTokenValidityInMillis () - 5000 );
139
+ + Config .getConfig (process .getProcess ()).getRefreshTokenValidityInMillis () - 10000 );
140
140
141
141
process .kill ();
142
142
assertNotNull (process .checkOrWaitForEvent (PROCESS_STATE .STOPPED ));
You can’t perform that action at this time.
0 commit comments