Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjinx committed Nov 22, 2024
1 parent 8fc4301 commit 3fe2f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/tabletgateway_flaky_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ outer:
require.Fail(t, "timed out - could not verify the new primary")
case <-time.After(10 * time.Millisecond):
newPrimary, shouldBuffer := tg.kev.ShouldStartBufferingForTarget(ctx, target)
if newPrimary != nil && newPrimary.Uid == 1 && !shouldBuffer {
if newPrimary != nil && newPrimary.Uid == replicaTablet.Alias.Uid && !shouldBuffer {
break outer
}
}
Expand Down

0 comments on commit 3fe2f9a

Please sign in to comment.