Skip to content

Commit e8dc540

Browse files
authored
test(firestore): Fix TestIntegration_BulkWriter_Create (#9240)
1 parent 70d74c0 commit e8dc540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore/integration_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2324,7 +2324,7 @@ func TestIntegration_BulkWriter_Create(t *testing.T) {
23242324
A int
23252325
}
23262326

2327-
docRef := iColl.Doc(fmt.Sprintf("bw_create_%d", time.Now().Unix()))
2327+
docRef := iColl.Doc(fmt.Sprintf("bw_create_1_%d", time.Now().Unix()))
23282328
_, err := docRef.Create(ctx, BWDoc{A: 6})
23292329
if err != nil {
23302330
t.Fatalf("Create: %v", err)
@@ -2338,7 +2338,7 @@ func TestIntegration_BulkWriter_Create(t *testing.T) {
23382338
}{
23392339
{
23402340
desc: "Successful",
2341-
ref: iColl.Doc(fmt.Sprintf("bw_create_%d", time.Now().Unix())),
2341+
ref: iColl.Doc(fmt.Sprintf("bw_create_2_%d", time.Now().Unix())),
23422342
wantStatusCode: codes.OK,
23432343
},
23442344
{

0 commit comments

Comments
 (0)