Skip to content

Commit

Permalink
e2e: sleep before scan
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Mar 6, 2024
1 parent 78769d2 commit e4ab18a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/test/e2e/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2491,6 +2491,10 @@ func TestHostScan(t *testing.T) {
}

scanHost := func() error {
// timing on the CI can be weird, wait a bit to make sure time passes
// between scans
time.Sleep(time.Millisecond)

resp, err := w.RHPScan(context.Background(), hk, hostIP, 10*time.Second)
tt.OK(err)
if resp.ScanError != "" {
Expand Down

0 comments on commit e4ab18a

Please sign in to comment.