Skip to content

Commit c3798cf

Browse files
committed
Wait only 1 second for flushing tracing info
The Reporter is created with a default batch interval 1 second. So, it should be enough to wait just 1 second because the data is flushed every 1 second.
1 parent e86a116 commit c3798cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/upgrade/prober/wathola/sender/services.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (s *sender) SendContinually() {
6666
defer func() {
6767
s.sendFinished()
6868
// Give time to send tracing information.
69-
time.Sleep(5 * time.Second)
69+
time.Sleep(time.Second)
7070
}()
7171

7272
go func() {

0 commit comments

Comments
 (0)