Skip to content

Commit 38f419e

Browse files
committed
fix tests
1 parent 8c4e98b commit 38f419e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/integration/auxiliarycommandserver/connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (s *AuxiliaryTestSuite) SetupSuite() {
3434
// Expect errors in logs should be false for recconnection tests
3535
// For now for these test we will skip checking the logs for errors
3636
slog.Info("starting auxiliary command server tests")
37-
s.teardownTest = utils.SetupConnectionTest(t, false, false, true,
37+
s.teardownTest = utils.SetupConnectionTest(t, true, false, true,
3838
"../../config/agent/nginx-agent-with-auxiliary-command.conf")
3939
}
4040

test/integration/managementplane/config_apply_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type ConfigApplyChunkingTestSuite struct {
4343
func (s *ConfigApplyTestSuite) SetupSuite() {
4444
slog.Info("starting config apply tests")
4545
s.ctx = context.Background()
46-
s.teardownTest = utils.SetupConnectionTest(s.T(), false, false, false,
46+
s.teardownTest = utils.SetupConnectionTest(s.T(), true, false, false,
4747
"../../config/agent/nginx-config-with-grpc-client.conf")
4848
s.nginxInstanceID = utils.VerifyConnection(s.T(), 2, utils.MockManagementPlaneAPIAddress)
4949

@@ -301,7 +301,7 @@ func (s *ConfigApplyTestSuite) TestConfigApply_Test5_TestFileNotInAllowedDirecto
301301
func (s *ConfigApplyChunkingTestSuite) SetupSuite() {
302302
slog.Info("starting config apply chunking tests")
303303
s.ctx = context.Background()
304-
s.teardownTest = utils.SetupConnectionTest(s.T(), false, false, false,
304+
s.teardownTest = utils.SetupConnectionTest(s.T(), true, false, false,
305305
"../../config/agent/nginx-config-with-max-file-size.conf")
306306
s.nginxInstanceID = utils.VerifyConnection(s.T(), 2, utils.MockManagementPlaneAPIAddress)
307307
responses := utils.ManagementPlaneResponses(s.T(), 1, utils.MockManagementPlaneAPIAddress)

0 commit comments

Comments
 (0)