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

agent integration tests are flaky #383

Open
pablochacin opened this issue Jan 3, 2024 · 0 comments
Open

agent integration tests are flaky #383

pablochacin opened this issue Jan 3, 2024 · 0 comments

Comments

@pablochacin
Copy link
Collaborator

pablochacin commented Jan 3, 2024

Table-driven HTTP and gRPC fault injection integration tests sometimes fail.

If they are run sequentially, they generally pass.

The issue seems to be that sometimes the test checks for the fault injection before the agent has injected the iptables rules that redirect the traffic. Adding a delay before checking the fault injection improves the chances of the test passing.

The solution would be to check the agent has effectively installed the iptable rules. However, the agent is not generating any log message that could be checked in the tests #175

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