test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #15995
test-phpunit.yml
on: pull_request
Setup PHP Version for Code Coverage
4s
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls
/
coveralls
44s
Annotations
28 warnings
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L158
Took 0.9768s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L990
Took 1.0499s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 1.2707s 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.7008s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 1.0878s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.4870s 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.6246s 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.3673s 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.7172s 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.7328s 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.7947s 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.7983s 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.8484s 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.9022s 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.8596s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L137
Took 3.7185s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L172
Took 3.7394s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L102
Took 3.8873s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L48
Took 1.0351s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ConnectTest.php#L106
Took 1.0471s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Migrations/MigrationRunnerTest.php#L492
Took 1.1002s 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.1320s 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.2625s 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.6086s 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.6678s 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.8095s 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.6780s 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.0376s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|