Merge pull request #8664 from laurazard/timeout-integration-test-shim-oomscore

integration/client: add timeout to `TestShimOOMScore`
This commit is contained in:
Derek McGowan
2023-06-09 11:49:48 -07:00
committed by GitHub

View File

@@ -1412,5 +1412,9 @@ func TestShimOOMScore(t *testing.T) {
t.Fatal(err)
}
<-statusC
select {
case <-time.After(5 * time.Second):
t.Fatal("timeout waiting for task exit event")
case <-statusC:
}
}