test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #16431
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
46s
Annotations
33 warnings
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L314
Took 0.5251s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L989
Took 1.0501s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.5214s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1846
Took 0.8124s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1876
Took 0.8266s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testChangeDefaultFieldValueWithModifyColumn
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.8418s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1382
Took 0.8607s 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.8639s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L172
Took 0.8864s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1731
Took 0.9027s 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.9984s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testRenameTable
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L137
Took 3.7892s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L102
Took 3.9570s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L502
Took 1.4516s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/UpdateTest.php#L669
Took 1.4544s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L35
Took 1.5026s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/SaveModelTest.php#L270
Took 1.5481s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1634
Took 1.7077s 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.8563s 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.1778s 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.2317s 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.3149s 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 4.0992s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L60
Took 0.8173s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRollbackValidBatchNumber
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L502
Took 0.8202s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1731
Took 0.8783s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L49
Took 0.8913s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1534
Took 0.9552s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropTableSuccess
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/DatabaseTestCaseTest.php#L71
Took 1.1729s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleMigrationNamespaces
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L107
Took 1.1985s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeed
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L87
Took 1.4146s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1846
Took 1.9802s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Database/Live/DbUtilsTest.php#L99
Took 2.1547s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DbUtilsTest::testUtilsOptimizeDatabase
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cache-live-tests-php-8.2-db-none
|
131 KB |
sha256:215e53dd83e020c1dbaf8bf5e64d04fb7ab68d9e0bac9f50aeb4b857c08c5512
|
|
|
database-live-tests-php-8.2-db-MySQLi5.7
|
13.8 MB |
sha256:2098e9255d2fd617c735c55a6323edbe68f86714cd289a90c6396e9ef69785c5
|
|
|
database-live-tests-php-8.2-db-MySQLi8.0
|
13.8 MB |
sha256:7b90579cd0a503df35a29eb34cdad6f1a7b2a5d52c1d6cc4d81d941790c783f0
|
|
|
database-live-tests-php-8.2-db-OCI88.0
|
14 MB |
sha256:bf7dd59e533ebaf17b401955571feff19ac5706a445e820707fd793dd6d06ba4
|
|
|
database-live-tests-php-8.2-db-Postgre8.0
|
13.5 MB |
sha256:f05a1047c85d94627b039180faae50fb4a025d4784eb6ce20c9a6b5b7dd27988
|
|
|
database-live-tests-php-8.2-db-SQLSRV8.0
|
13.6 MB |
sha256:4ef763b227e5d5327692d5c084840ac9323f811645f9017e69aa837c3085b2c5
|
|
|
database-live-tests-php-8.2-db-SQLite38.0
|
13.5 MB |
sha256:cdcd7c5a408ed0ebffc04a8c11d01a7a4935f97a1050522d6e11c7e91a0b2357
|
|
|
sanity-tests-php-8.2-db-none
|
33.5 MB |
sha256:fd47d4e1ee8198b75b1bc7a027aa87e1ec5ed595597f6671281450caee289861
|
|
|
separate-process-tests-php-8.2-db-none
|
3.77 MB |
sha256:26954d454b4c468a2c46a52a7360713934cb18afd3c922ad0d6cdc5ea894ae7f
|
|