Commit 67b3950
authored
chore(tests): fix many mainline test issues (#190)
* chore(tests): fix many mainline test issues
1) test_spanner_vector_store's dependency on HNLoader fails
- use a different loader
2) test_spanner_vector_store's add_document failed with PK size exceeded
(this is due to 1, the loader now returns slightly longer content)
- use a different url
3) test_spanner_loader doesn't properly clean up the test so that now
testing database has too many tables
- add cleanup for these tests
* Fix cleanup code
* Switch to new test databases
The old databases are extremely slow due to too many schema objects
Also verified pytest test/integrations/ properly cleaned up upon test
completion1 parent e03b316 commit 67b3950
3 files changed
Lines changed: 52 additions & 15 deletions
File tree
- tests/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
38 | 70 | | |
39 | 71 | | |
40 | | - | |
| 72 | + | |
41 | 73 | | |
42 | 74 | | |
43 | 75 | | |
| |||
455 | 487 | | |
456 | 488 | | |
457 | 489 | | |
458 | | - | |
| 490 | + | |
459 | 491 | | |
460 | 492 | | |
461 | 493 | | |
| |||
872 | 904 | | |
873 | 905 | | |
874 | 906 | | |
875 | | - | |
| 907 | + | |
876 | 908 | | |
877 | 909 | | |
878 | 910 | | |
879 | 911 | | |
880 | 912 | | |
881 | 913 | | |
882 | 914 | | |
883 | | - | |
| 915 | + | |
884 | 916 | | |
885 | 917 | | |
886 | 918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
254 | 256 | | |
255 | 257 | | |
| |||
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | | - | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
462 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| |||
552 | 556 | | |
553 | 557 | | |
554 | 558 | | |
555 | | - | |
| 559 | + | |
556 | 560 | | |
557 | 561 | | |
558 | 562 | | |
| |||
677 | 681 | | |
678 | 682 | | |
679 | 683 | | |
680 | | - | |
681 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
682 | 687 | | |
683 | 688 | | |
684 | 689 | | |
| |||
755 | 760 | | |
756 | 761 | | |
757 | 762 | | |
758 | | - | |
| 763 | + | |
759 | 764 | | |
760 | 765 | | |
761 | 766 | | |
| |||
0 commit comments