tracee icon indicating copy to clipboard operation
tracee copied to clipboard

[BUG] Flaky integration test

Open grantseltzer opened this issue 3 years ago • 0 comments

Prerequisites

  • [ ] This affects latest released version.
  • [x] This affects current development tree (origin/HEAD).
  • [x] There isn't an issue describing the bug. (Partially, other issues with this test)

Select one OR another:

  • [x] I'm going to create a PR to solve this (assign to yourself).
  • [ ] Someone else should solve this.

Bug description

Running the do_a_file_write integration test fails. When I run it on my machine there's a value mismatch because it just reads in the first event for magic_write and compares it to a hard coded slice of bytes. This doesn't work if another magic_write event occurs elsewhere on the system. We need to filter for the exact event properly.

Steps to reproduce

Steps to reproduce the issue:

  1. sudo make test-integration

Additional Information (files, logs, etc)

grantseltzer avatar Aug 16 '22 16:08 grantseltzer