diff --git a/test/integration/auxiliarycommandserver/connection_test.go b/test/integration/auxiliarycommandserver/connection_test.go index 772c355f2e..1c89857edb 100644 --- a/test/integration/auxiliarycommandserver/connection_test.go +++ b/test/integration/auxiliarycommandserver/connection_test.go @@ -141,15 +141,17 @@ func (s *AuxiliaryTestSuite) TestAuxiliary_Test4_FileWatcher() { ) s.Require().NoError(err) - // Check command server has 2 ManagementPlaneResponses from updating a file on disk + // Check command server has 1 ManagementPlaneResponses from updating a file on disk commandResponses := utils.ManagementPlaneResponses(s.T(), 1, utils.MockManagementPlaneAPIAddress) s.Equal(mpi.CommandResponse_COMMAND_STATUS_OK, commandResponses[0].GetCommandResponse().GetStatus()) s.Equal("Successfully updated all files", commandResponses[0].GetCommandResponse().GetMessage()) // Check auxiliary server has 2 ManagementPlaneResponses from updating a file on disk - auxResponses := utils.ManagementPlaneResponses(s.T(), 1, utils.AuxiliaryMockManagementPlaneAPIAddress) + auxResponses := utils.ManagementPlaneResponses(s.T(), 2, utils.AuxiliaryMockManagementPlaneAPIAddress) s.Equal(mpi.CommandResponse_COMMAND_STATUS_OK, auxResponses[0].GetCommandResponse().GetStatus()) s.Equal("Successfully updated all files", auxResponses[0].GetCommandResponse().GetMessage()) + s.Equal(mpi.CommandResponse_COMMAND_STATUS_OK, auxResponses[1].GetCommandResponse().GetStatus()) + s.Equal("Successfully updated all files", auxResponses[1].GetCommandResponse().GetMessage()) slog.Info("finished auxiliary command server file watcher test") }