From b44e7f50669bc0b4ab055c75df41936afcc46d83 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Sat, 16 Dec 2023 01:27:14 -0500 Subject: [PATCH] e2e test is ... not yet Signed-off-by: Matt Lord --- go/test/endtoend/vreplication/vdiff2_test.go | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/go/test/endtoend/vreplication/vdiff2_test.go b/go/test/endtoend/vreplication/vdiff2_test.go index d7821a5d486..b3b235f978a 100644 --- a/go/test/endtoend/vreplication/vdiff2_test.go +++ b/go/test/endtoend/vreplication/vdiff2_test.go @@ -195,14 +195,17 @@ func testWorkflow(t *testing.T, vc *VitessCluster, tc *testCase, tks *Keyspace, catchup(t, tab, tc.workflow, tc.typ) } - //vdiff(t, tc.targetKs, tc.workflow, allCellNames, true, true, nil) - doVtctldclientVDiff(t, tc.targetKs, tc.workflow, allCellNames, nil, "--max-diff-time=50ns") - - tablet := vc.getPrimaryTablet(t, tc.targetKs, arrTargetShards[0]) - stat, err := getDebugVar(t, tablet.Port, []string{"VDiffRestartedTableDiffsCount"}) - require.NoError(t, err, "failed to get VDiffRestartedTableDiffsCount stat: %v", err) - restarts := gjson.Parse(stat).Get("customer").Int() - require.Greater(t, restarts, int64(0), "expected VDiffRestartedTableDiffsCount stat to be greater than 0, got %d", restarts) + vdiff(t, tc.targetKs, tc.workflow, allCellNames, true, true, nil) + + /* + doVtctldclientVDiff(t, tc.targetKs, tc.workflow, allCellNames, nil, "--max-diff-time=50ns") + + tablet := vc.getPrimaryTablet(t, tc.targetKs, arrTargetShards[0]) + stat, err := getDebugVar(t, tablet.Port, []string{"VDiffRestartedTableDiffsCount"}) + require.NoError(t, err, "failed to get VDiffRestartedTableDiffsCount stat: %v", err) + restarts := gjson.Parse(stat).Get("customer").Int() + require.Greater(t, restarts, int64(0), "expected VDiffRestartedTableDiffsCount stat to be greater than 0, got %d", restarts) + */ if tc.autoRetryError { testAutoRetryError(t, tc, allCellNames)