Skip to content

Commit 4d8e303

Browse files
Make --tablet-uid version dependent
Signed-off-by: Rohit Nayak <[email protected]>
1 parent 046d059 commit 4d8e303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/test/endtoend/tabletmanager/replication_manager/tablet_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func getTablet(tabletGrpcPort int) *tabletpb.Tablet {
130130
func resurrectTablet(t *testing.T, tab cluster.Vttablet) {
131131
// initialize config again to regenerate the my.cnf file which has the port to use
132132
_, err := tab.MysqlctlProcess.ExecuteCommandWithOutput("--log_dir", tab.MysqlctlProcess.LogDirectory,
133-
utils.GetFlagVariantForTests("--tablet-uid"), fmt.Sprintf("%d", tab.MysqlctlProcess.TabletUID),
133+
utils.GetFlagVariantForTestsByVersion("--tablet-uid", tab.MysqlctlProcess.MajorVersion), fmt.Sprintf("%d", tab.MysqlctlProcess.TabletUID),
134134
utils.GetFlagVariantForTests("--mysql-port"), fmt.Sprintf("%d", tab.MysqlctlProcess.MySQLPort),
135135
"init_config")
136136
require.NoError(t, err)

0 commit comments

Comments
 (0)