Skip to content

Commit 992a94b

Browse files
committed
Fix auxiliary server integration test
1 parent 48b56b6 commit 992a94b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/integration/auxiliarycommandserver/connection_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,10 @@ func (s *AuxiliaryTestSuite) TestAuxiliary_Test4_FileWatcher() {
141141
)
142142
s.Require().NoError(err)
143143

144-
// Check command server has 2 ManagementPlaneResponses from updating a file on disk
145-
commandResponses := utils.ManagementPlaneResponses(s.T(), 2, utils.MockManagementPlaneAPIAddress)
144+
// Check command server has 1 ManagementPlaneResponses from updating a file on disk
145+
commandResponses := utils.ManagementPlaneResponses(s.T(), 1, utils.MockManagementPlaneAPIAddress)
146146
s.Equal(mpi.CommandResponse_COMMAND_STATUS_OK, commandResponses[0].GetCommandResponse().GetStatus())
147147
s.Equal("Successfully updated all files", commandResponses[0].GetCommandResponse().GetMessage())
148-
s.Equal(mpi.CommandResponse_COMMAND_STATUS_OK, commandResponses[1].GetCommandResponse().GetStatus())
149-
s.Equal("Successfully updated all files", commandResponses[1].GetCommandResponse().GetMessage())
150148

151149
// Check auxiliary server has 2 ManagementPlaneResponses from updating a file on disk
152150
auxResponses := utils.ManagementPlaneResponses(s.T(), 2, utils.AuxiliaryMockManagementPlaneAPIAddress)

0 commit comments

Comments
 (0)