mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-04 12:56:02 +02:00
remove test code from config/options_test.go (#5423)
This commit is contained in:
parent
6502d68162
commit
e5ede2d167
1 changed files with 0 additions and 11 deletions
|
@ -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) {
|
func TestOptions_GetSetResponseHeaders(t *testing.T) {
|
||||||
t.Run("lax", func(t *testing.T) {
|
t.Run("lax", func(t *testing.T) {
|
||||||
options := NewDefaultOptions()
|
options := NewDefaultOptions()
|
||||||
|
|
Loading…
Add table
Reference in a new issue