Skip to content

Commit

Permalink
Merge pull request #4763 from weaviate/test_sharded_lock
Browse files Browse the repository at this point in the history
test: solve sharded lock test flakiness
  • Loading branch information
jeroiraz committed Apr 25, 2024
2 parents 024f79b + b6993c4 commit 4aac149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/repos/db/vector/common/sharded_locks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func TestShardedRWLocks(t *testing.T) {

select {
case <-ch:
default:
case <-time.After(1 * time.Second):
require.Fail(t, "should be unlocked")
}

Expand Down

0 comments on commit 4aac149

Please sign in to comment.