From d7b1ab8e43175e13270251a0dadbb2e3f81363a8 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Thu, 3 Dec 2020 09:35:28 -0600 Subject: [PATCH] Try to capture more logs from the TestSupervisorLogin test. Signed-off-by: Matt Moyer --- test/integration/supervisor_login_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/integration/supervisor_login_test.go b/test/integration/supervisor_login_test.go index 92e7c086..5df74651 100644 --- a/test/integration/supervisor_login_test.go +++ b/test/integration/supervisor_login_test.go @@ -33,6 +33,10 @@ import ( func TestSupervisorLogin(t *testing.T) { env := library.IntegrationEnv(t) + + // If anything in this test crashes, dump out the supervisor pod logs. + defer library.DumpLogs(t, env.SupervisorNamespace) + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) defer cancel() @@ -92,9 +96,6 @@ func TestSupervisorLogin(t *testing.T) { TLS: &idpv1alpha1.TLSSpec{ CertificateAuthorityData: base64.StdEncoding.EncodeToString([]byte(env.SupervisorTestUpstream.CABundle)), }, - AuthorizationConfig: idpv1alpha1.OIDCAuthorizationConfig{ - AdditionalScopes: []string{"email", "profile"}, - }, Client: idpv1alpha1.OIDCClient{ SecretName: library.CreateClientCredsSecret(t, env.SupervisorTestUpstream.ClientID, env.SupervisorTestUpstream.ClientSecret).Name, },