Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Afek Berger <[email protected]>
  • Loading branch information
afek854 committed Feb 6, 2025
1 parent 371f23f commit 3464388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ func Test_10_MalwareDetectionTest(t *testing.T) {
_, _, err := testutils.ExecIntoPod("malware-cryptominer", ns.Name, []string{"ls", "-l", "/usr/share/nginx/html/xmrig"}, "")
assert.NoErrorf(t, err, "expected no error when executing command in malware container")

_, _, err := testutils.ExecIntoPod("malware-cryptominer", ns.Name, []string{"/usr/share/nginx/html/xmrig/xmrig"}, "")

// wait for the alerts to be generated
time.Sleep(20 * time.Second)

Expand Down

0 comments on commit 3464388

Please sign in to comment.