Skip to content

Commit

Permalink
Add more time to setup rpc test server
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Dec 25, 2024
1 parent 0c535ed commit bd3a227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bchrpc/proxy/gw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestMain(m *testing.M) {
server: nil,
}
go startLocalTestServer(proxy)
time.Sleep(1 * time.Second) // wait for HTTP server goroutine
time.Sleep(5 * time.Second) // wait for HTTP server goroutine

// connect the HTTP test client to address:port
httpAddr := *proxyAddr
Expand Down

0 comments on commit bd3a227

Please sign in to comment.