From e5ede2d167ecdf21841174b4ee3d0320a2216c9b Mon Sep 17 00:00:00 2001 From: Joe Kralicky Date: Tue, 14 Jan 2025 14:00:38 -0500 Subject: [PATCH] remove test code from config/options_test.go (#5423) --- config/options_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/options_test.go b/config/options_test.go index 836e10fbf..c4c0271f5 100644 --- a/config/options_test.go +++ b/config/options_test.go @@ -978,17 +978,6 @@ func TestOptions_ApplySettings(t *testing.T) { }) } -func TestXXX(t *testing.T) { - dir, _ := os.MkdirTemp("", "asdf") - t.Log(dir) - for i := 1; i <= 100; i++ { - crt, _ := cryptutil.GenerateCertificate(nil, fmt.Sprintf("route%d.localhost.pomerium.io", i)) - crtBytes, keyBytes, _ := cryptutil.EncodeCertificate(crt) - os.WriteFile(fmt.Sprintf("%s/%d.crt", dir, i), crtBytes, 0o644) - os.WriteFile(fmt.Sprintf("%s/%d.key", dir, i), keyBytes, 0o600) - } -} - func TestOptions_GetSetResponseHeaders(t *testing.T) { t.Run("lax", func(t *testing.T) { options := NewDefaultOptions()