test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #15991
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
47s
Annotations
28 warnings
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L158
Took 1.0153s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L990
Took 1.0538s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 1.4145s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 0.7640s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.6057s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.5166s 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.5897s 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.5001s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L492
Took 0.9591s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.0063s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.0115s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ConnectTest.php#L106
Took 1.0483s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1634
Took 1.0636s 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 1.3622s 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 1.4519s 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 1.5280s 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 2.3785s 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 2.5654s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1287
Took 0.7722s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1846
Took 0.8104s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1382
Took 0.8666s 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.8992s 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.8992s 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.9439s 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.8173s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L154
Took 3.7411s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDb
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L137
Took 3.7443s 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.9150s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|