Skip to content

Commit

Permalink
At 100ms we still see failures on prow (knative#10626)
Browse files Browse the repository at this point in the history
So raise it once more for now, while I am thinking about a nice channel way to do this.

ref: https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_serving/10624/pull-knative-serving-unit-tests/1353818280392921088

/assign @tcnghia @markusthoemmes

Change-Id: I524d64692a3177564747f207d490fad036417a3c
  • Loading branch information
vagababov authored Jan 26, 2021
1 parent c081a82 commit 7700811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/queue/execprobe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func TestProbeQueueTimeout(t *testing.T) {
probed.Store(true)

select {
case <-time.After(1 * time.Second):
case <-time.After(time.Second):
case <-r.Context().Done():
}

Expand All @@ -134,7 +134,7 @@ func TestProbeQueueTimeout(t *testing.T) {
t.Cleanup(func() { os.Unsetenv(queuePortEnvVar) })
os.Setenv(queuePortEnvVar, strconv.Itoa(port))

if rv := standaloneProbeMain(100*time.Millisecond, nil); rv == 0 {
if rv := standaloneProbeMain(300*time.Millisecond, nil); rv == 0 {
t.Error("Unexpected return value from standaloneProbeMain:", rv)
}

Expand Down

0 comments on commit 7700811

Please sign in to comment.