diff options
author | Valery Piashchynski <[email protected]> | 2021-08-13 02:38:15 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-13 02:38:15 +0300 |
commit | 8cdac2daf2fc4a1a95ddebca585f4ec38beff210 (patch) | |
tree | 843b5e5f5dd9a1bca68a420e283642fc27fbb5c8 /tests/plugins/jobs/jobs_sqs_test.go | |
parent | de378e7698db896b8fd16f628c7d89689c8371d0 (diff) |
Update go.mod dependencies to the most recent version.
Fix tests according to the new mocks.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/jobs/jobs_sqs_test.go')
-rw-r--r-- | tests/plugins/jobs/jobs_sqs_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/plugins/jobs/jobs_sqs_test.go b/tests/plugins/jobs/jobs_sqs_test.go index d4cb4e52..80c5e8f4 100644 --- a/tests/plugins/jobs/jobs_sqs_test.go +++ b/tests/plugins/jobs/jobs_sqs_test.go @@ -45,14 +45,9 @@ func TestSQSInit(t *testing.T) { mockLogger.EXPECT().Debug("Started RPC service", "address", "tcp://127.0.0.1:6001", "services", gomock.Any()).Times(1) mockLogger.EXPECT().Error(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() - mockLogger.EXPECT().Info("pipeline started", "pipeline", "test-1", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) - mockLogger.EXPECT().Info("pipeline started", "pipeline", "test-2", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) - mockLogger.EXPECT().Info("pipeline active", "pipeline", "test-1", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) mockLogger.EXPECT().Info("pipeline active", "pipeline", "test-2", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) - mockLogger.EXPECT().Info("driver initialized", "driver", "sqs", "start", gomock.Any()).Times(2) - mockLogger.EXPECT().Warn("pipeline stopped", "pipeline", "test-1", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) mockLogger.EXPECT().Warn("pipeline stopped", "pipeline", "test-2", "start", gomock.Any(), "elapsed", gomock.Any()).Times(1) |