From 8b787bd8f5cc2d3a33fcc55a8268b2fff393e6b3 Mon Sep 17 00:00:00 2001 From: Rohit Nayak Date: Thu, 4 Jan 2024 08:37:51 +0100 Subject: [PATCH] Fix flaky vtctl MoveTables test Signed-off-by: Rohit Nayak --- go/vt/vtctl/vtctl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtctl/vtctl.go b/go/vt/vtctl/vtctl.go index 14019a27f23..3ba12643a1c 100644 --- a/go/vt/vtctl/vtctl.go +++ b/go/vt/vtctl/vtctl.go @@ -2338,7 +2338,7 @@ func commandVReplicationWorkflow(ctx context.Context, wr *wrangler.Wrangler, sub sort.Strings(tables) s := "" var progress wrangler.TableCopyProgress - for table := range *copyProgress { + for _, table := range tables { var rowCountPct, tableSizePct int64 progress = *(*copyProgress)[table] if progress.SourceRowCount > 0 {