Skip to content

test(e2e): no wait - #830

Merged
hekike merged 1 commit into
feat/creditsfrom
test/e2e-no-sleep
Apr 27, 2024
Merged

hekike merged 1 commit into
feat/creditsfrom
test/e2e-no-sleep

Conversation

@hekike

@hekike hekike commented Apr 27, 2024 •

Copy link
Copy Markdown
Contributor

Implement a call that checks if the events are processed in a specific amount of time instead of static waits.

It speeds up integration tests and checks whether the prerequisites for the next test cases have been fulfilled, helping with troubleshooting (e.g., it clearly shows if we have an issue with event processing or ledger).

Before:
┃ ok github.com/openmeterio/openmeter/e2e 40.696s

After
┃ ok github.com/openmeterio/openmeter/e2e 21.688s

@hekike hekike added the release-note/ignore Ignore this change when generating release notes label Apr 27, 2024
@hekike hekike linked an issue Apr 27, 2024 that may be closed by this pull request
@hekike hekike changed the title test(e2e): no wait OSS-37 test(e2e): no wait Apr 27, 2024
@hekike
hekike merged commit de0377c into feat/credits Apr 27, 2024
@hekike
hekike deleted the test/e2e-no-sleep branch April 27, 2024 15:48
@sagikazarmark

Copy link
Copy Markdown
Contributor

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/ignore Ignore this change when generating release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement checks in e2e instead of static waits

2 participants