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

assert when compare_bucket_object_list returns False in test_mcg_replication_with_disruptions #10672

Open
PrasadDesala opened this issue Oct 14, 2024 · 0 comments · May be fixed by #10924
Open
Assignees
Labels
Squad/Magenta team/e2e E2E team related issues/PRs

Comments

@PrasadDesala
Copy link
Contributor

PrasadDesala commented Oct 14, 2024

There is a problem in test_mcg_replication_with_disruptions.py. We are not throwing any assertion when comparing the bucket obj due to which the test is PASSING even though the compared buckets do not contain the same set of objects.

We need to add an assertion while calling the compare_bucket_object_list and fail the test if the function returns False.

2024-10-14 14:31:29 05:01:27 - MainThread - ocs_ci.ocs.bucket_utils - ERROR - The compared buckets did not contain the same set of objects after 600 seconds
2024-10-14 14:31:29 05:01:27 - MainThread - system_test.test_mcg_replication_with_disruptions - INFO - Objects sync works even when the cluster is rebooted
2024-10-14 14:31:29 05:01:27 - MainThread - ocs_ci.framework.pytest_customization.reports - INFO - duration reported by tests/cross_functional/system_test/test_mcg_replication_with_disruptions.py::TestMCGReplicationWithDisruptions::test_replication_with_disruptions[AZUREtoAWS-NS-CLI] immediately after test execution: 3047.94
2024-10-14 14:31:29 PASSED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Squad/Magenta team/e2e E2E team related issues/PRs
Projects
None yet
2 participants