You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.Equal(t, expectNumRows, numRows, fmt.Sprintf("wrong number of results from show vitess_replication_status. Expected %d, got %d", expectNumRows, numRows))
// Only returns rows for REPLICA and RDONLY tablets -- so should be 2 of them
84
+
qr:=utils.Exec(t, conn, "show vitess_replication_status like '%'")
85
+
expectNumRows:=2
86
+
numRows:=len(qr.Rows)
87
+
assert.Equal(t, expectNumRows, numRows, fmt.Sprintf("wrong number of results from show vitess_replication_status. Expected %d, got %d", expectNumRows, numRows))
// Only returns rows for REPLICA and RDONLY tablets -- so should be 1 of them since we updated 1 to spare
95
+
qr=utils.Exec(t, conn, "show vitess_replication_status like '%'")
96
+
expectNumRows=1
97
+
numRows=len(qr.Rows)
98
+
assert.Equal(t, expectNumRows, numRows, fmt.Sprintf("wrong number of results from show vitess_replication_status. Expected %d, got %d", expectNumRows, numRows))
0 commit comments