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

Fixed VM Snapshot Extension test failure - Expected <10> to be less than <10>, but was not #3503

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vipunj
Copy link

@vipunj vipunj commented Nov 10, 2024

Test VmSnapsotLinuxBVTExtension.verify_vmsnapshot_extension was failing due AssertionError: [Restore point creation failed.] Expected <10> to be less than <10>, but was not.
For this, have removed redundant count increment from the func _verify_vmsnapshot_extension and now it is passing

@arisettisanjana
Copy link
Contributor

the error is because of repeated retries that were happening because of failures, and since it exceeded 10 retries we see that error.

Now we will have to check why were the failures occurring/happening

LiliDeng
LiliDeng previously approved these changes Nov 11, 2024
@LiliDeng
Copy link
Collaborator

@arisettisanjana please fix the CI check error

@@ -265,7 +265,7 @@ def _verify_vmsnapshot_extension(
else:
raise e
time.sleep(1)
count = count + 1
count +=1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

count += 1

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