Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E: add Outbox processing middleware #898

Open
Tracked by #895
s373r opened this issue Oct 11, 2024 · 0 comments
Open
Tracked by #895

E2E: add Outbox processing middleware #898

s373r opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@s373r
Copy link
Member

s373r commented Oct 11, 2024

Context

Outbox messages are used to communicate between different systems. Their processing occurs asynchronously.

In other words, e.g. after creating a dataset, we need to additionally create sleep()'s in our tests to ensure that all messages are completed processing.

This workaround creates instability and delays test execution time.

Expectations

It is required to implement middleware that, after changing HTTP requests (POST, PUT), processes all accumulated messages and waits for the end of this process.

In case it is a POST GQL API query, execute only if it is a mutation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant