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

Faster tests #76

Open
3 tasks
paynejacob opened this issue Aug 31, 2021 · 0 comments
Open
3 tasks

Faster tests #76

paynejacob opened this issue Aug 31, 2021 · 0 comments

Comments

@paynejacob
Copy link
Collaborator

There are a few things we could do to make tests complete faster:

  • eliminate the log aggregator and expose an service on the operator directly
  • wait for flows to be active before checking for results
  • wait for simulation pods to be in a running state

Right now we wait a set period of time for tests to complete. Given we do not have insights into the state of the flows we have to allow time for the flows to activate and the simulation pods to start. If we watch the pods and flows and wait for them to become active we can assume it should only take at most 1 flush interval configured in the test output. We might want to pad with a little extra room to allow time for requests to complete but this would mean our fixed delay would fall from 5 minutes to 2 seconds. Tests would still need to wait for all the resources to be ready but this is typically less than 5m right now.

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

No branches or pull requests

1 participant