Repository navigation
Commit dfbfbba
authored
fix(Spanner): Make System Tests Work & Work Faster (#9401)
* test(spanner): add IF NOT EXISTS to PostgreSQL DDL statements
test(spanner): consolidate test database provisioning
fix(spanner): fix PgReadTest index creation on shared database
test(spanner): Consolidate DDL operations into test setup suite
test(spanner): fix schema mismatches for partitionedDml and PgQueryTest
test(spanner): rename PgQueryTest_2 back to PgQueryTest
test(spanner): fix PostgreSQL column name mismatches for test tables
* test(spanner): BackupTest reliability and optimization
test(spanner): Handle DEADLINE_EXCEEDED in BackupTest
test(spanner): fix BackupTest timeout and PgQueryTest schema collision
test(spanner): add deadline exceeded polling to testCreateBackup2
refactor(spanner): DRY up extended polling loop in BackupTest
* chore: enable Spanner system tests in CI
* test(spanner): avoid ID collisions by using self::randId() with a larger range
test(spanner): restore seedTable in BatchTest to fix test coverage
test(spanner): fix array_rand bug and batch mutations in seedTable
test(spanner): fix fundamentally broken partitionRead test logic in BatchTest
fix: move seedTable back to its original location
fix(cs): fix style issues in BatchTest.php
fix(cs): format multi-line args
* fix(spanner): fix test database initialization and teardown on persistent databases, and apply code review fixes for tests
* test(spanner): rollback open transaction in ReadTest
* test(spanner): clear stale backups before running BackupTest
* address PR comments
* test(spanner): refactor backup tests (remove backup2) and add ApiException catching
Refactors backup tests for clarity and adds catching of ApiException where appropriate. Also adds debug logging to system tests for better observability.
* feat(spanner): enable parallel test execution
* fix: add break to prevent infinite loop in BackupTest
* fix: reload backup object before asserting state
* test: add Database::STATE_READY assertion in testRestoreToNewDatabase
* chore(Spanner): setting instance processing units to 1000
* fix(Spanner): fixing bugs in UniverseDomainTest and BackupTest
* fix(Spanner): fix premature setup flag assignment in system tests
* doc(Spanner): Readme clarifications
* docs(Spanner): add paratest to dependencies and clarify system test README1 parent 2b8ac7a commit dfbfbba
27 files changed
Lines changed: 1063 additions & 831 deletions
File tree
- Core/src/Testing/System
- Spanner
- tests/System
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments