Skip to content

Commit

Permalink
Reduce flakiness in TestShardReplicationPositions (#14708)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Mason <[email protected]>
  • Loading branch information
Andrew Mason authored Dec 7, 2023
1 parent 5c2273a commit 2b51040
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/vt/vtctl/grpcvtctldserver/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10837,7 +10837,7 @@ func TestShardReplicationPositions(t *testing.T) {
},
tmc: &testutil.TabletManagerClient{
PrimaryPositionDelays: map[string]time.Duration{
"zone1-0000000100": time.Millisecond * 100,
"zone1-0000000100": time.Second * 2,
},
PrimaryPositionResults: map[string]struct {
Position string
Expand All @@ -10848,7 +10848,7 @@ func TestShardReplicationPositions(t *testing.T) {
},
},
ReplicationStatusDelays: map[string]time.Duration{
"zone1-0000000101": time.Millisecond * 100,
"zone1-0000000101": time.Second * 2,
},
ReplicationStatusResults: map[string]struct {
Position *replicationdatapb.Status
Expand All @@ -10861,7 +10861,7 @@ func TestShardReplicationPositions(t *testing.T) {
},
},
},
ctxTimeout: time.Millisecond * 10,
ctxTimeout: time.Second,
req: &vtctldatapb.ShardReplicationPositionsRequest{
Keyspace: "testkeyspace",
Shard: "-",
Expand Down

0 comments on commit 2b51040

Please sign in to comment.