Skip to content

Commit

Permalink
update(test): integration test should fail if Falco exited abnormal
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr committed Oct 12, 2020
1 parent f567f2f commit c7956dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/falco_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ def test(self):

# No need to check any outputs if the falco process exited abnormally.
if res.exit_status != 0:
self.fail("Falco exited abnormally with code {}".format(
res.exit_status))
return

self.check_rules_warnings(res)
Expand Down

0 comments on commit c7956dc

Please sign in to comment.