File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/supertokens/storage/postgresql/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ public void testConcurrentDeleteAndInsert() throws Exception {
519519 t1Failed .set (false );
520520
521521 return null ;
522- }/*, TransactionIsolationLevel.READ_COMMITTED */ );
522+ }, SQLStorage . TransactionIsolationLevel .SERIALIZABLE );
523523 } catch (StorageQueryException | StorageTransactionLogicException e ) {
524524 // This is expected because of "could not serialize access"
525525 t1Failed .set (true );
@@ -652,7 +652,7 @@ public void testLinkAccountsInParallel() throws Exception {
652652 .checkOrWaitForEventInPlugin (
653653 io .supertokens .storage .postgresql .ProcessState .PROCESS_STATE .DEADLOCK_NOT_RESOLVED ));
654654
655- assertNull (process
655+ assertNotNull (process
656656 .checkOrWaitForEventInPlugin (
657657 io .supertokens .storage .postgresql .ProcessState .PROCESS_STATE .DEADLOCK_FOUND ));
658658
You can’t perform that action at this time.
0 commit comments