Skip to content

Commit

Permalink
chore(tests): integration changes
Browse files Browse the repository at this point in the history
- add coolDown to sleep before to run the next test.
- change runCmd to receive the number of expected events.
- ExpectAnyOfEvts (ExpectAnyOfEach before) now call runCmd passing 1 as
  expected events.
- eventBuffer.clear() now sets a new empty slice for it, instead of
  relying on the old underlying array.
- replaced copyActualEvents() with eventBuffer.getCopy().
- refactored test functions and improved comments.
  • Loading branch information
geyslan committed Oct 31, 2023
1 parent 0defd11 commit c58f1bb
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 101 deletions.
Loading

0 comments on commit c58f1bb

Please sign in to comment.