From 249dd3d08b0a48e53825fbba648891051e6d501d Mon Sep 17 00:00:00 2001 From: kmetin Date: Thu, 2 Nov 2023 22:57:33 +0300 Subject: [PATCH] fix tests --- base/commands/migration/cancel_it_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/commands/migration/cancel_it_test.go b/base/commands/migration/cancel_it_test.go index 980f3b47..25bb6bb1 100644 --- a/base/commands/migration/cancel_it_test.go +++ b/base/commands/migration/cancel_it_test.go @@ -60,6 +60,8 @@ func cancelTest(t *testing.T) { }) setStatusCancelling(mID, tcx, ctx) wg.Wait() + statusMap := MustValue(tcx.Client.GetMap(ctx, migration.StatusMapName)) + MustValue(statusMap.Remove(ctx, mID)) tcx.AssertStdoutContains(`Migration canceled successfully.`) }) }