test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #16010
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
45s
Annotations
28 warnings
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L158
Took 0.9886s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L990
Took 1.0536s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 1.0054s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 1.3916s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.3586s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.6740s 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.3520s 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.5479s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1534
Took 0.7069s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropTableSuccess
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1795
Took 0.7088s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithKeyOnly
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L137
Took 0.7155s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1287
Took 0.7280s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1382
Took 0.7475s 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.7833s 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.8029s 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.8796s 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.7111s 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.8679s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.3953s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L495
Took 1.4082s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/UpdateModelTest.php#L319
Took 1.4757s from 0.5000s limit to run CodeIgniter\\Models\\UpdateModelTest::testUpdateArrayWithDataException
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.4995s 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.6499s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1287
Took 2.1594s 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.2059s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L238
Took 2.3840s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.6696s 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.0562s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|