Skip to content

Commit 54570e4

Browse files
author
Karolis Rusenas
committed
Merge pull request #38 from rusenask/feature/fix_race_during_tests
stop checking whether cache is empty since other tests can populate it
2 parents dda524d + fd227af commit 54570e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

models_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,4 @@ func TestDeleteAllRecords(t *testing.T) {
105105
// deleting
106106
err := dbClient.deleteAllRecords()
107107
expect(t, err, nil)
108-
109-
// checking whether all records were deleted
110-
keys, _ = dbClient.cache.getAllKeys()
111-
expect(t, len(keys), 0)
112108
}

0 commit comments

Comments
 (0)