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

Move the redis tests to use containers from bazel #957

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

zasgar
Copy link
Member

@zasgar zasgar commented Mar 3, 2023

Summary: Move the redis tests to use containers from bazel instead of pulling them
from the registry. This allows the tests to run without internet access and not be subject to
pull limits.

This changes also removes some output assertions because redis does not always produce message when running outside
of a terminal environemnt. The assertions aren't important for coverage since we check the test expectations as well.

Relevant Issues: #709

Type of change: /kind cleanup

Test Plan: existing tests should pass.

Signed-off-by: Zain Asgar <zasgar@pixielabs.ai>
@ddelnano
Copy link
Member

ddelnano commented Mar 3, 2023

Overall changes look good, but can you do a final test run with --runs_per_test set to ~20-25? Since this test was recently stabilized, it would be good to verify that there isn't any new flakinesses.

@zasgar
Copy link
Member Author

zasgar commented Mar 6, 2023

Overall changes look good, but can you do a final test run with --runs_per_test set to ~20-25? Since this test was recently stabilized, it would be good to verify that there isn't any new flakinesses.
I just ran it again and it seems to not have any new flakiness. Good call out.

@zasgar zasgar merged commit f2b3094 into pixie-io:main Mar 6, 2023
RagalahariP pushed a commit to RagalahariP/pixie that referenced this pull request Mar 23, 2023
Summary: Move the redis tests to use containers from bazel instead of
pulling them from the registry. This allows the tests to run without internet access 
and not be subject to pull limits.

This changes also removes some output assertions because redis does not
always produce message when running outside
of a terminal environemnt. The assertions aren't important for coverage
since we check the test expectations as well.

Relevant Issues: pixie-io#709

Type of change: /kind cleanup

Test Plan: existing tests should pass.

Signed-off-by: Zain Asgar <zasgar@pixielabs.ai>
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

Successfully merging this pull request may close these issues.

3 participants