test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #15845
test-phpunit.yml
on: pull_request
Setup PHP Version for Code Coverage
3s
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls
/
coveralls
38s
Annotations
1 error and 30 warnings
|
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
|
|
Others (8.2) / Sanity Tests:
/tests/system/Test/FabricatorTest.php#L496
Took 0.5354s from 0.5000s limit to run CodeIgniter\\Test\\FabricatorTest::testUniqueSetsOutUniqueFieldValues
|
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L761
Took 0.5525s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
|
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L158
Took 0.7084s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L990
Took 1.0579s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 0.5818s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 0.9163s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.1493s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, MySQLi, 5.7) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.0820s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.9902s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.0848s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1287
Took 0.6652s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L137
Took 0.6685s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1846
Took 0.6900s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L172
Took 0.6997s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1382
Took 0.7444s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testModifyColumnRename
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L545
Took 0.8003s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1731
Took 0.8026s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L489
Took 0.8811s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testRenameTable
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.2956s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L102
Took 3.8615s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/WhenWhenNotModelTest.php#L25
Took 1.3096s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L48
Took 1.3330s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L492
Took 1.3966s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5504s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1634
Took 1.6560s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L238
Took 1.8120s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1287
Took 2.1229s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1731
Took 2.1283s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.5754s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L545
Took 3.9356s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cache-live-tests-php-8.2-db-none
Expired
|
147 KB |
sha256:5e21bd7092618ee36ea0554215571fe3622cec4081050c9addcf66a08f92c5d0
|
|
|
database-live-tests-php-8.2-db-MySQLi5.7
Expired
|
13.6 MB |
sha256:f21cba967b637c83778562ec2d3beb8a15037e7453f737feeedd1f7d18ccc4a1
|
|
|
database-live-tests-php-8.2-db-MySQLi8.0
Expired
|
13.6 MB |
sha256:af8a2daf661d9b2b128823658afe85aa58d4a624f4b4b91b9c0c64ad9fafe0a0
|
|
|
database-live-tests-php-8.2-db-OCI88.0
Expired
|
13.8 MB |
sha256:3626f81ea3b27229b2e32b92a665edd9489471e474296911ead5852d1ec5ac97
|
|
|
database-live-tests-php-8.2-db-Postgre8.0
Expired
|
13.2 MB |
sha256:5a5aa8a84ab7c378bdefed8e9b60b7dbc005b80663b3b999b7436214406a2417
|
|
|
database-live-tests-php-8.2-db-SQLSRV8.0
Expired
|
13.4 MB |
sha256:a4ac27ce27b071c48ed50e2ddd99d3d2cdd96b8223e473d9282ea21d14a8d9ea
|
|
|
database-live-tests-php-8.2-db-SQLite38.0
Expired
|
13.2 MB |
sha256:8b83ce82845058328dd239daa195cee003c0bc7128f9a76fd5b82faa5274ae43
|
|
|
sanity-tests-php-8.2-db-none
Expired
|
31.8 MB |
sha256:8f7389ffbc6ff59e9fbd583a4b723b5c78426bca8e33f5960fa7938b6d87bac2
|
|
|
separate-process-tests-php-8.2-db-none
Expired
|
3.71 MB |
sha256:3cacb9a5c1f20e82fa925728f1c98d2bd3c26b506e0b4753290190dcf0bade34
|
|