Skip to content

Commit

Permalink
This should fix the issue of db timeouts for /internal/login tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Xemdo committed Sep 9, 2023
1 parent ad81eb2 commit 9f91556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/login/login_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func TestUserAuthServer(t *testing.T) {
userResponse <- *res
}()

time.Sleep(25)
time.Sleep(1 * time.Second)
_, err = loginRequest(http.MethodGet, fmt.Sprintf("http://localhost:3000?code=%s&state=%s", code, state), nil)
a.Nil(err, err)

Expand Down

0 comments on commit 9f91556

Please sign in to comment.