Skip to content

Commit 9e55736

Browse files
committed
some more logs
Signed-off-by: Yash Patel <yp969803@gmail.com>
1 parent fa7b58a commit 9e55736

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/e2e/baseline_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,8 @@ func TestLongConnL4Telemetry(t *testing.T) {
826826
opt := echo.CallOptions{
827827
Port: echo.Port{Name: "http"},
828828
Scheme: scheme.HTTP,
829-
Count: 20,
830-
Timeout: 5 * time.Second,
829+
Count: 500,
830+
Timeout: 2 *60* time.Second,
831831
Check: check.OK(),
832832
HTTP: echo.HTTP{Path: "/?delay=3s", HTTP2: true},
833833
To: localDst,
@@ -839,7 +839,7 @@ func TestLongConnL4Telemetry(t *testing.T) {
839839

840840
query := buildL4Query(localSrc, localDst, "kmesh_tcp_sent_bytes_total")
841841
stc.Logf("prometheus query: %#v", query)
842-
// time.Sleep(10 * time.Second)
842+
time.Sleep(10 * time.Second)
843843
prevReqs := float64(0)
844844
for i := 0; i < 2; i++ {
845845
err := retry.Until(func() bool {
@@ -848,7 +848,7 @@ func TestLongConnL4Telemetry(t *testing.T) {
848848
stc.Logf("could not query for traffic from %q to %q: %v", deployName(localSrc), localDst.Config().Service, err)
849849
return false
850850
}
851-
851+
852852
if reqs-prevReqs == 0.0 {
853853
stc.Logf("found zero-valued sum for traffic from %q to %q: %v", deployName(localSrc), localDst.Config().Service, err)
854854
return false
@@ -862,7 +862,7 @@ func TestLongConnL4Telemetry(t *testing.T) {
862862
}
863863
time.Sleep(15 * time.Second)
864864
}
865-
time.Sleep(30 * time.Second)
865+
time.Sleep(2 * 60 * time.Second)
866866
})
867867
}
868868
}

0 commit comments

Comments
 (0)