Skip to content

Commit bfc895f

Browse files
Import spec tests from firebase/firebase-js-sdk/#2033 (#675)
1 parent 0b13b10 commit bfc895f

File tree

2 files changed

+1054
-28
lines changed

2 files changed

+1054
-28
lines changed

firebase-firestore/src/test/resources/json/limbo_spec_test.json

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3441,27 +3441,21 @@
34413441
"numClients": 1
34423442
},
34433443
"steps": [
3444-
{
3445-
"drainQueue": true,
3446-
"clientIndex": 0
3447-
},
34483444
{
34493445
"userSet": [
34503446
"collection/a",
34513447
{
34523448
"matches": true
34533449
}
3454-
],
3455-
"clientIndex": 0
3450+
]
34563451
},
34573452
{
34583453
"userSet": [
34593454
"collection/b",
34603455
{
34613456
"matches": true
34623457
}
3463-
],
3464-
"clientIndex": 0
3458+
]
34653459
},
34663460
{
34673461
"writeAck": {
@@ -3474,8 +3468,7 @@
34743468
],
34753469
"rejectedDocs": []
34763470
}
3477-
},
3478-
"clientIndex": 0
3471+
}
34793472
},
34803473
{
34813474
"writeAck": {
@@ -3488,8 +3481,7 @@
34883481
],
34893482
"rejectedDocs": []
34903483
}
3491-
},
3492-
"clientIndex": 0
3484+
}
34933485
},
34943486
{
34953487
"userListen": [
@@ -3547,14 +3539,12 @@
35473539
"fromCache": true,
35483540
"hasPendingWrites": false
35493541
}
3550-
],
3551-
"clientIndex": 0
3542+
]
35523543
},
35533544
{
35543545
"watchAck": [
35553546
2
3556-
],
3557-
"clientIndex": 0
3547+
]
35583548
},
35593549
{
35603550
"watchEntity": {
@@ -3574,17 +3564,15 @@
35743564
"targets": [
35753565
2
35763566
]
3577-
},
3578-
"clientIndex": 0
3567+
}
35793568
},
35803569
{
35813570
"watchCurrent": [
35823571
[
35833572
2
35843573
],
35853574
"resume-token-2000"
3586-
],
3587-
"clientIndex": 0
3575+
]
35883576
},
35893577
{
35903578
"watchSnapshot": {
@@ -3613,8 +3601,7 @@
36133601
"resumeToken": ""
36143602
}
36153603
}
3616-
},
3617-
"clientIndex": 0
3604+
}
36183605
},
36193606
{
36203607
"userListen": [
@@ -3706,8 +3693,7 @@
37063693
"fromCache": true,
37073694
"hasPendingWrites": false
37083695
}
3709-
],
3710-
"clientIndex": 0
3696+
]
37113697
},
37123698
{
37133699
"userUnlisten": [
@@ -3736,8 +3722,7 @@
37363722
}
37373723
},
37383724
"limboDocs": []
3739-
},
3740-
"clientIndex": 0
3725+
}
37413726
},
37423727
{
37433728
"userListen": [
@@ -3809,8 +3794,7 @@
38093794
"fromCache": true,
38103795
"hasPendingWrites": false
38113796
}
3812-
],
3813-
"clientIndex": 0
3797+
]
38143798
}
38153799
]
38163800
}

0 commit comments

Comments
 (0)