Skip to content

Commit 275fcde

Browse files
committed
update e2e tests
1 parent e81272d commit 275fcde

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

boundary

9.6 MB
Binary file not shown.

boundary.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ import (
1515
)
1616

1717
type Config struct {
18-
RuleEngine rulesengine.Engine
19-
Auditor audit.Auditor
20-
TLSConfig *tls.Config
21-
Logger *slog.Logger
22-
Jailer jail.Jailer
23-
ProxyPort int
18+
RuleEngine rulesengine.Engine
19+
Auditor audit.Auditor
20+
TLSConfig *tls.Config
21+
Logger *slog.Logger
22+
Jailer jail.Jailer
23+
ProxyPort int
2424
PprofEnabled bool
2525
PprofPort int
2626
}

e2e_tests/boundary_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func TestContentLengthHeader(t *testing.T) {
215215

216216
// Start boundary process with sudo
217217
boundaryCmd := exec.CommandContext(ctx, "/tmp/boundary-test",
218-
"--allow", "example.com",
218+
"--allow", "domain=example.com",
219219
"--log-level", "debug",
220220
"--", "/bin/bash", "-c", "/usr/bin/sleep 10 && /usr/bin/echo 'Test completed'")
221221

e2e_tests/iptables_cleanup_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ func TestIPTablesCleanup(t *testing.T) {
5050

5151
// Start boundary process with sudo
5252
boundaryCmd := exec.CommandContext(ctx, "/tmp/boundary-test",
53-
"--allow", "dev.coder.com",
54-
"--allow", "jsonplaceholder.typicode.com",
53+
"--allow", "domain=dev.coder.com",
54+
"--allow", "domain=jsonplaceholder.typicode.com",
5555
"--log-level", "debug",
5656
"--", "/bin/bash", "-c", "/usr/bin/sleep 10 && /usr/bin/echo 'Test completed'")
5757

proxy/proxy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func TestProxyServerBasicHTTPS(t *testing.T) {
143143
Gid: gid,
144144
})
145145
require.NoError(t, err)
146-
146+
147147
// Setup TLS to get cert path for jailer
148148
tlsConfig, caCertPath, configDir, err := certManager.SetupTLSAndWriteCACert()
149149
require.NoError(t, err)

0 commit comments

Comments
 (0)