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

fix: scan timeout not working #542

Merged
merged 1 commit into from
Aug 9, 2023
Merged

fix: scan timeout not working #542

merged 1 commit into from
Aug 9, 2023

Conversation

paralta
Copy link
Contributor

@paralta paralta commented Aug 9, 2023

Description

While implementing end to end tests in VMClarity, we discovered that the scan timeout feature is not working. Please note that scan state was changed from aborted to failed because, when the scan state is aborted, the scan state reason is changed from ScanStateReasonTimedOut to ScanStateReasonAborted https://github.com/openclarity/vmclarity/blob/vm-clarity-e-2-e-tests/pkg/orchestrator/scanwatcher/watcher.go#L492

Tests for this fix are covered in the e2e test implementation #539

Type of Change

[x] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@paralta paralta requested a review from a team as a code owner August 9, 2023 09:47
@paralta paralta self-assigned this Aug 9, 2023
@paralta paralta added the bug Something isn't working label Aug 9, 2023
Copy link
Contributor

@chrisgacsal chrisgacsal left a comment

Choose a reason for hiding this comment

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

LGTM!

@paralta paralta enabled auto-merge August 9, 2023 14:58
@paralta paralta added this pull request to the merge queue Aug 9, 2023
Merged via the queue into main with commit bda8c76 Aug 9, 2023
8 checks passed
@paralta paralta deleted the fix-timeout branch August 9, 2023 15:47
@chrisgacsal chrisgacsal mentioned this pull request Nov 6, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants