Skip to content

Commit

Permalink
test(firestore): Fix TestIntegration_BulkWriter_Create (#9240)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhshkh committed Jan 10, 2024
1 parent 70d74c0 commit e8dc540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firestore/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ func TestIntegration_BulkWriter_Create(t *testing.T) {
A int
}

docRef := iColl.Doc(fmt.Sprintf("bw_create_%d", time.Now().Unix()))
docRef := iColl.Doc(fmt.Sprintf("bw_create_1_%d", time.Now().Unix()))
_, err := docRef.Create(ctx, BWDoc{A: 6})
if err != nil {
t.Fatalf("Create: %v", err)
Expand All @@ -2338,7 +2338,7 @@ func TestIntegration_BulkWriter_Create(t *testing.T) {
}{
{
desc: "Successful",
ref: iColl.Doc(fmt.Sprintf("bw_create_%d", time.Now().Unix())),
ref: iColl.Doc(fmt.Sprintf("bw_create_2_%d", time.Now().Unix())),
wantStatusCode: codes.OK,
},
{
Expand Down

0 comments on commit e8dc540

Please sign in to comment.