e2e: add test case for bandwidth_limit_mode server (#3295)

This commit is contained in:
fatedier
2023-02-09 01:11:00 +08:00
committed by GitHub
parent 38d42dbe4b
commit 89fff7d11d
3 changed files with 66 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ func (f *Framework) RunFrps(args ...string) (*process.Process, string, error) {
return p, p.StdOutput(), err
}
// sleep for a while to get std output
time.Sleep(500 * time.Millisecond)
time.Sleep(time.Second)
return p, p.StdOutput(), nil
}
@@ -80,7 +80,7 @@ func (f *Framework) RunFrpc(args ...string) (*process.Process, string, error) {
if err != nil {
return p, p.StdOutput(), err
}
time.Sleep(500 * time.Millisecond)
time.Sleep(time.Second)
return p, p.StdOutput(), nil
}