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(tests): possible out of range in integration #4305

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

Commits on Sep 25, 2024

  1. fix(tests): possible out of range in integration

    ExpectAllInOrderSequentially might try to access an index out of range
    depending on the number of events that are being checked.
    
    More about in issue aquasecurity#4255.
    geyslan committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3f8c90d View commit details
    Browse the repository at this point in the history
  2. fix(tests): use ExpectAtLeastOneForEach

    Two test cases were using ExpectAllInOrderSequentially helper function
    and passing by luck, since they emit more events than expected only
    beyond the expected events boundary.
    
    For that cases we should use ExpectAtLeastOneForEach helper function
    instead.
    geyslan committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0c1d041 View commit details
    Browse the repository at this point in the history