Skip to content

Commit

Permalink
Update server test to reduce sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrymomot committed Jan 16, 2024
1 parent ca17401 commit 078b46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestServer(t *testing.T) {
}()

// Wait for the server to start
// time.Sleep(1 * time.Second)
time.Sleep(500 * time.Millisecond)

// Perform an HTTP request to the server
resp, err := http.Get(fmt.Sprintf("http://%s", listenAddr))
Expand Down

0 comments on commit 078b46a

Please sign in to comment.