Skip to content

Commit 0aca093

Browse files
authored
test: fix CI unstable (E2E) (#953)
1 parent 42d5ba3 commit 0aca093

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/test/e2e/consumer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ func TestConsumer_with_createtime_updatetime(t *testing.T) {
321321
}
322322

323323
// get the consumer
324+
time.Sleep(time.Duration(1) * time.Second)
324325
request, _ = http.NewRequest("GET", basepath+"/jack", nil)
325326
request.Header.Add("Authorization", token)
326327
resp, _ = http.DefaultClient.Do(request)

0 commit comments

Comments
 (0)