File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ test-many-times:
7171 grep -H FAIL out-test-$$ {i}.log; \
7272 echo ; \
7373 done ; \
74- echo " Grep for FAIL" ; \
74+ echo " Grep for FAIL - no lines should be found " ; \
7575 ! grep -H FAIL out-test-* .log;
7676
7777foo :
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ func TestAddEventWithShouldSendAge(t *testing.T) {
227227 break
228228 }
229229 }
230- assert .Greater (t , waited , 5 )
230+ assert .GreaterOrEqual (t , waited , 5 )
231231 finished .Add (1 )
232232 }()
233233
@@ -266,7 +266,7 @@ func TestAddEventWithShouldSendSize(t *testing.T) {
266266 break
267267 }
268268 }
269- assert .Greater (t , waited , 5 )
269+ assert .GreaterOrEqual (t , waited , 5 )
270270 finished .Add (1 )
271271 }()
272272
Original file line number Diff line number Diff line change @@ -564,9 +564,9 @@ func TestAddEventsWithBufferSweeper(t *testing.T) {
564564 }(NumEvents )
565565
566566 // wait on all buffers to be sent
567- time .Sleep (sentDelay * NumEvents * 2 )
567+ time .Sleep (sentDelay * ( NumEvents * 2 + 1 ) )
568568
569- assert .Greater (t , attempt .Load (), int32 (4 ))
569+ assert .GreaterOrEqual (t , attempt .Load (), int32 (4 ))
570570 // info := httpmock.GetCallCountInfo()
571571 // assert.CmpDeeply(info, map[string]int{"POST https://example.com/api/addEvents": int(attempt.Load())})
572572}
You can’t perform that action at this time.
0 commit comments