Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Jan 31, 2025
1 parent 8cd81ae commit 035df61
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion integration-tests/source-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,13 @@ func (h odinTestcases) Execute() error {
}
defer os.RemoveAll(ConfigFile)
results, err := testutils.RunUncoverAndGetResults(debug, "-odin", "nginx")

if err != nil {
return err
}
return expectResultsGreaterThanCount(results, 0)
}

type binaryedgeTestcases struct{}

func (h binaryedgeTestcases) Execute() error {
Expand All @@ -233,7 +240,7 @@ func (h binaryedgeTestcases) Execute() error {
defer os.RemoveAll(ConfigFile)
results, err := testutils.RunUncoverAndGetResults(debug, "-binaryedge", "1.1.1.1")

if err != nil {
if err != nil {
return err
}
return expectResultsGreaterThanCount(results, 0)
Expand Down

0 comments on commit 035df61

Please sign in to comment.