tracee
tracee copied to clipboard
[BUG] Flaky integration test
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:
sudo make test-integration