Skip to content

Commit

Permalink
Raise openid provider discovery timeout (#133)
Browse files Browse the repository at this point in the history
* Raise provider timeout in e2e test
  • Loading branch information
p53 committed Jan 8, 2022
1 parent aac19ca commit a0fade4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func TestE2E(t *testing.T) {
portNum := fmt.Sprintf("%d", rand.Intn(max-min+1)+min)

os.Setenv("PROXY_DISCOVERY_URL", "http://localhost:8081/auth/realms/"+testRealm)
os.Setenv("PROXY_OPENID_PROVIDER_TIMEOUT", "60s")
os.Setenv("PROXY_LISTEN", "0.0.0.0:"+portNum)
os.Setenv("PROXY_CLIENT_ID", testClient)
os.Setenv("PROXY_CLIENT_SECRET", testClientSecret)
Expand Down

0 comments on commit a0fade4

Please sign in to comment.