Skip to content

Commit

Permalink
fix(spanner): update staleness bound (#10118)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshachinta committed May 6, 2024
1 parent b91f658 commit c07f1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanner/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ func TestIntegration_SingleUse(t *testing.T) {
{
name: "max_staleness",
want: [][]interface{}{{int64(1), "Marc", "Foo"}, {int64(3), "Alpha", "Beta"}, {int64(4), "Last", "End"}},
tb: MaxStaleness(time.Second),
tb: MaxStaleness(time.Nanosecond),
checkTs: func(ts time.Time) error {
if ts.Before(writes[3].ts) {
return fmt.Errorf("read got timestamp %v, want it to be no earlier than %v", ts, writes[3].ts)
Expand Down

0 comments on commit c07f1e4

Please sign in to comment.