Skip to content

Commit 012a138

Browse files
committed
fix tests
1 parent e9ffebc commit 012a138

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

nginx-agent.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ allowed_directories:
1717
- /usr/share/nginx/modules
1818
- /var/run/nginx
1919
- /var/log/nginx
20+
- /etc/test
21+
22+
command:
23+
server:
24+
host: agent.connect.nginxlab.net
25+
port: 443
26+
type: grpc
27+
auth:
28+
token: "ujDj9DagRvCN0kwv7z2pKKlzukSkiOgVZFXYFp4LY3o="
29+
tls:
30+
skip_verify: false
2031
#
2132
# Command server settings to connect to a management plane server
2233
#

test/integration/managementplane/config_upload_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (s *MPITestSuite) TearDownTest() {
3838
func (s *MPITestSuite) SetupSuite() {
3939
slog.Info("starting MPI tests")
4040
s.ctx = context.Background()
41-
s.teardownTest = utils.SetupConnectionTest(s.T(), true, false, false,
41+
s.teardownTest = utils.SetupConnectionTest(s.T(), false, false, false,
4242
"../../config/agent/nginx-config-with-grpc-client.conf")
4343
s.nginxInstanceID = utils.VerifyConnection(s.T(), 2, utils.MockManagementPlaneAPIAddress)
4444
responses := utils.ManagementPlaneResponses(s.T(), 1, utils.MockManagementPlaneAPIAddress)

0 commit comments

Comments
 (0)