Skip to content

Commit

Permalink
Merge branch 'main' into auth1
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-merge-on-green[bot] authored Aug 23, 2023
2 parents 740c2c6 + 14aa857 commit f03020a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datastore/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ func TestIntegration_AggregationQueries(t *testing.T) {
}

// Create transaction with read before creating entities
readTime := time.Now()
readTime := time.Now().Truncate(time.Microsecond)
txBeforeCreate, err := client.NewTransaction(ctx, []TransactionOption{ReadOnly, WithReadTime(readTime)}...)
if err != nil {
t.Fatalf("client.NewTransaction: %v", err)
Expand All @@ -742,7 +742,7 @@ func TestIntegration_AggregationQueries(t *testing.T) {
}()

// Create transaction with read after creating entities
readTime = time.Now()
readTime = time.Now().Truncate(time.Microsecond)
txAfterCreate, err := client.NewTransaction(ctx, []TransactionOption{ReadOnly, WithReadTime(readTime)}...)
if err != nil {
t.Fatalf("client.NewTransaction: %v", err)
Expand Down

0 comments on commit f03020a

Please sign in to comment.