Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
  • Loading branch information
tiancaiamao committed Aug 2, 2023
1 parent 7b22591 commit f153616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server/tso/allocator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func testTSOSuffix(re *require.Assertions, cluster *tests.TestCluster, am *tso.A
re.NoError(err)
var tso pdpb.Timestamp
testutil.Eventually(re, func() bool {
tso, err = allocator.GenerateTSO(1)
tso, err = allocator.GenerateTSO(context.Background(), 1)
re.NoError(err)
return tso.GetPhysical() != 0
})
Expand Down

0 comments on commit f153616

Please sign in to comment.