From 2d4a00554cd57dc9001cabd66a3570c310f8aa1c Mon Sep 17 00:00:00 2001 From: spacewander Date: Mon, 19 Feb 2024 13:37:30 +0800 Subject: [PATCH] tweak Signed-off-by: spacewander --- plugins/tests/integration/oidc_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/tests/integration/oidc_test.go b/plugins/tests/integration/oidc_test.go index 8b70dd3ab..fca0f762d 100644 --- a/plugins/tests/integration/oidc_test.go +++ b/plugins/tests/integration/oidc_test.go @@ -17,6 +17,7 @@ package integration import ( "encoding/base64" "encoding/json" + "fmt" "net/http" "net/url" "os/exec" @@ -71,8 +72,11 @@ func TestOIDC(t *testing.T) { "issuer": "http://host.docker.internal:4444", }) controlPlane.UseGoPluginConfig(config, dp) + time.Sleep(1 * time.Second) + resp, err := dp.Get("/echo?a=1", nil) require.Nil(t, err) + fmt.Printf("AAAA %+v\n", resp) uri := resp.Header.Get("Location") u, err := url.ParseRequestURI(uri) require.NoError(t, err)