Skip to content

Commit

Permalink
For some reason it takes longer for events to appear in /state
Browse files Browse the repository at this point in the history
no i am not going to track down why yet.
  • Loading branch information
Gnuxie committed Jul 6, 2022
1 parent 998e9cc commit 5510658
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/banListTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ describe('Test: ACL updates will batch when rules are added in succession.', fun
// Give them a bit of a spread over time.
await new Promise(resolve => setTimeout(resolve, 5));
}
// give the events a chance to appear in the response to `/state`, since this is a problem.
await new Promise(resolve => setTimeout(resolve, 2000));

// We do this because it should force us to wait until all the ACL events have been applied.
// Even if that does mean the last few events will not go through batching...
Expand Down

0 comments on commit 5510658

Please sign in to comment.