Skip to content

Commit

Permalink
Correct condition
Browse files Browse the repository at this point in the history
  • Loading branch information
erthalion committed Oct 10, 2023
1 parent 7e4cdee commit b9cb304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/suites/perf_event_open.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *PerfEventOpenTestSuite) TestReadingTracepoints() {
assert.FailNow(s.T(), "Cannot convert result to the integer type")
}

s.Assert(s.T(), count > 0, "Number of captured tracepoint events is zero")
s.Assert().Greater(s.T(), count, 0, "Number of captured tracepoint events is zero")
}
s.cleanupContainers(containerID)
}

0 comments on commit b9cb304

Please sign in to comment.