Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a6ec6a9
test(spanner): add IF NOT EXISTS to PostgreSQL DDL statements
cy-yun Jul 21, 2026
5f1c511
test(spanner): BackupTest reliability and optimization
cy-yun Jul 21, 2026
61d2773
chore: enable Spanner system tests in CI
cy-yun Jul 21, 2026
4df3d08
test(spanner): avoid ID collisions by using self::randId() with a lar…
cy-yun Jul 28, 2026
36c3134
fix(spanner): fix test database initialization and teardown on persis…
cy-yun Jul 28, 2026
e83b031
test(spanner): rollback open transaction in ReadTest
cy-yun Jul 30, 2026
396aebb
test(spanner): clear stale backups before running BackupTest
cy-yun Jul 30, 2026
0659c5f
address PR comments
cy-yun Jul 31, 2026
7cde304
test(spanner): refactor backup tests (remove backup2) and add ApiExce…
cy-yun Aug 3, 2026
fda327f
feat(spanner): enable parallel test execution
cy-yun Aug 3, 2026
d956dbd
fix: add break to prevent infinite loop in BackupTest
cy-yun Aug 4, 2026
969f0a5
fix: reload backup object before asserting state
cy-yun Aug 4, 2026
bc1a837
test: add Database::STATE_READY assertion in testRestoreToNewDatabase
cy-yun Aug 4, 2026
38befb2
chore(Spanner): setting instance processing units to 1000
cy-yun Aug 4, 2026
c2699b0
fix(Spanner): fixing bugs in UniverseDomainTest and BackupTest
cy-yun Aug 5, 2026
afe5bed
fix(Spanner): fix premature setup flag assignment in system tests
cy-yun Aug 6, 2026
862ea07
doc(Spanner): Readme clarifications
cy-yun Aug 6, 2026
4c63aa8
docs(Spanner): add paratest to dependencies and clarify system test R…
cy-yun Aug 10, 2026
7a08b83
Merge branch 'main' into fix-spanner-system-tests
cy-yun Aug 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/src/Testing/System/SystemTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static function processQueue()
*/
public static function randId()
{
return rand(1, 9999999);
return rand(1, 999999999);
}

/**
Expand Down
3 changes: 2 additions & 1 deletion Spanner/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"dg/bypass-finals": "^1.7",
"dms/phpunit-arraysubset-asserts": "^0.5.0",
"symfony/process": "^6.4",
"nikic/php-parser": "^5.0"
"nikic/php-parser": "^5.0",
"brianium/paratest": "^6.11"
},
"suggest": {
"ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions.",
Expand Down
2 changes: 1 addition & 1 deletion Spanner/tests/System/AdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function testInstance()
$this->assertEquals(Instance::STATE_READY, $instance->state());

$displayName = uniqid(self::TESTING_PREFIX);
$processingUnits = 500;
$processingUnits = 1000;
$op = $instance->update([
'displayName' => $displayName,
'processingUnits' => $processingUnits,
Expand Down
Loading
Loading