Skip to content

Commit

Permalink
fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
linkxzhou committed Dec 23, 2023
1 parent e41edaa commit 4c3a7ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions http_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"strings"
"sync"
"testing"
"time"

"github.com/gorilla/websocket"
"github.com/quic-go/quic-go/http3"
Expand Down Expand Up @@ -298,6 +299,8 @@ func TestStressHTTP1MultipleWorker(t *testing.T) {
cmderList = append(cmderList, workerCmd)
}

time.Sleep(10) // wait for 10s

cmder := command{}
cmder.init(gopath, strings.Split(v.args, " "))
result, err := cmder.startup()
Expand Down

0 comments on commit 4c3a7ae

Please sign in to comment.