Skip to content

Commit

Permalink
fixed intermittent test in the worst possible way
Browse files Browse the repository at this point in the history
  • Loading branch information
guyroyse committed Oct 30, 2023
1 parent 26b9bbc commit 1283e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/functional/search/search-hash.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("search for hashes", () => {
repository = new Repository(schema, redis)

await repository.createIndex()
await sleep(50) // Yuck! Gotta wait for RediSearch to index everything.
await sleep(1000) // Yuck! Gotta wait for RediSearch to index everything.
})

afterAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion spec/functional/search/search-json.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("search for JSON documents", () => {
repository = new Repository(schema, redis)

await repository.createIndex()
await sleep(50) // Yuck! Gotta wait for RediSearch to index everything.
await sleep(1000) // Yuck! Gotta wait for RediSearch to index everything.
})

afterAll(async () => {
Expand Down

0 comments on commit 1283e9e

Please sign in to comment.