Commit f94bb78
fix: Improve Firestore tests by separating test runs, improving cleanup (GoogleCloudPlatform#2667)
* fix: harden the wait for consistency for firestore multiple listen snippet
* fix: formatting
* add a setup step in CLI (GoogleCloudPlatform#2611)
* fix: formatting
* fix: formatting
* fix: add setup to snippets for tests
* fix: rename sydney_query to denver_query as it refers to denver
* fix: Use stream instead of get in samples
* fix: stop deleting LA, delete DEN instead
* fix: move delete tests to end of file
* fix: move BJ to top to work with snapshot cursors
* fix: Beijing -> BJ
* during delete collection delete all collections created for these tests
* fix: add cleanup test to distributed counters
* wrap db.collections calls to use unique names
* fix: remove unused import
* fix: remove more complicated fix for time now that we have separate collections
* fix: reorder tests
* fix: move test firestore client to test file
* fix: lint
* fix: use old-style classes for Python 2.7
Co-authored-by: Tianzi Cai <tianzi@google.com>1 parent ebe1500 commit f94bb78
3 files changed
Lines changed: 65 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
174 | | - | |
175 | | - | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
307 | 311 | | |
308 | 312 | | |
309 | 313 | | |
| |||
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
317 | 325 | | |
318 | 326 | | |
319 | 327 | | |
| |||
329 | 337 | | |
330 | 338 | | |
331 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
332 | 344 | | |
333 | 345 | | |
334 | 346 | | |
| |||
441 | 453 | | |
442 | 454 | | |
443 | 455 | | |
444 | | - | |
445 | | - | |
446 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
447 | 459 | | |
448 | 460 | | |
449 | 461 | | |
| |||
490 | 502 | | |
491 | 503 | | |
492 | 504 | | |
493 | | - | |
| 505 | + | |
494 | 506 | | |
495 | 507 | | |
496 | 508 | | |
497 | 509 | | |
498 | | - | |
| 510 | + | |
499 | 511 | | |
500 | 512 | | |
501 | 513 | | |
| |||
703 | 715 | | |
704 | 716 | | |
705 | 717 | | |
| 718 | + | |
706 | 719 | | |
707 | 720 | | |
708 | 721 | | |
| |||
737 | 750 | | |
738 | 751 | | |
739 | 752 | | |
| 753 | + | |
740 | 754 | | |
741 | 755 | | |
742 | 756 | | |
| |||
746 | 760 | | |
747 | 761 | | |
748 | 762 | | |
| 763 | + | |
749 | 764 | | |
750 | 765 | | |
751 | 766 | | |
| |||
801 | 816 | | |
802 | 817 | | |
803 | 818 | | |
804 | | - | |
| 819 | + | |
805 | 820 | | |
806 | 821 | | |
807 | 822 | | |
| |||
814 | 829 | | |
815 | 830 | | |
816 | 831 | | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
817 | 835 | | |
818 | 836 | | |
819 | 837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
26 | | - | |
| 43 | + | |
27 | 44 | | |
28 | 45 | | |
29 | 46 | | |
| |||
250 | 267 | | |
251 | 268 | | |
252 | 269 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 270 | | |
263 | 271 | | |
264 | 272 | | |
| |||
280 | 288 | | |
281 | 289 | | |
282 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
283 | 300 | | |
284 | 301 | | |
285 | 302 | | |
| |||
0 commit comments