Skip to content

Commit

Permalink
update sprintf args.
Browse files Browse the repository at this point in the history
  • Loading branch information
makinje16 committed Aug 27, 2024
1 parent dad6448 commit 482c514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/wrangler/traffic_switcher_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func newTestTablePartialMigrater(ctx context.Context, t *testing.T, shards, shar
streamInfoRows = append(streamInfoRows, fmt.Sprintf("%d|%v|||", i+1, bls))
streamExtInfoRows = append(streamExtInfoRows, fmt.Sprintf("%d|||||Running|vt_ks1|%d|%d|0|0||||0", i+1, now, now))
}
tme.dbTargetClients[i].addInvariant(fmt.Sprintf(copyStateQuery, i+1, i+1), noResult)
tme.dbTargetClients[i].addInvariant(fmt.Sprintf(copyStateQuery, i+1), noResult)
tme.dbTargetClients[i].addInvariant(streamInfoKs2, sqltypes.MakeTestResult(sqltypes.MakeTestFields(
"id|source|message|cell|tablet_types",
"int64|varchar|varchar|varchar|varchar"),
Expand Down Expand Up @@ -432,7 +432,7 @@ func newTestTablePartialMigrater(ctx context.Context, t *testing.T, shards, shar
},
}
streamInfoRows = append(streamInfoRows, fmt.Sprintf("%d|%v|||", i+1, bls))
tme.dbTargetClients[i].addInvariant(fmt.Sprintf(copyStateQuery, i+1, i+1), noResult)
tme.dbTargetClients[i].addInvariant(fmt.Sprintf(copyStateQuery, i+1), noResult)
}
tme.dbSourceClients[i].addInvariant(reverseStreamInfoKs1, sqltypes.MakeTestResult(sqltypes.MakeTestFields(
"id|source|message|cell|tablet_types",
Expand Down

0 comments on commit 482c514

Please sign in to comment.