Page MenuHomePhabricator

AphrontMySQLDatabaseConnectionTestCase::Unknown Unit Message ("")
Failed

TEST RESULT

Run At
Nov 7 2018, 1:01 PM
Details
EXCEPTION (AphrontConnectionLostQueryException): #2006: Simulated error. This error may occur if your configured MySQL "wait_timeout" or "max_allowed_packet" values are too small. This may also indicate that something used the MySQL "KILL <process>" command to kill the connection running the query. #0 /core/data/drydock/workingcopy-91/repo/libphutil/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php(348): AphrontBaseMySQLDatabaseConnection->throwCommonException(2006, 'Simulated error...') #1 /core/data/drydock/workingcopy-91/repo/libphutil/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php(289): AphrontBaseMySQLDatabaseConnection->throwQueryCodeException(2006, 'Simulated error...') #2 /core/data/drydock/workingcopy-91/repo/libphutil/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php(185): AphrontBaseMySQLDatabaseConnection->throwQueryException(Object(mysqli)) #3 /core/data/drydock/workingcopy-91/repo/libphutil/src/xsprintf/queryfx.php(8): AphrontBaseMySQLDatabaseConnection->executeRawQuery('SELECT 1') #4 /core/data/drydock/workingcopy-91/repo/phabricator/src/infrastructure/storage/__tests__/AphrontMySQLDatabaseConnectionTestCase.php(21): queryfx(Object(AphrontMySQLiDatabaseConnection), 'SELECT 1') #5 [internal function]: AphrontMySQLDatabaseConnectionTestCase->testConnectionFailures() #6 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/phutil/PhutilTestCase.php(492): call_user_func_array(Array, Array) #7 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/PhutilUnitTestEngine.php(69): PhutilTestCase->run() #8 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php(148): PhutilUnitTestEngine->run() #9 /core/data/drydock/workingcopy-91/repo/arcanist/src/workflow/ArcanistUnitWorkflow.php(170): ArcanistConfigurationDrivenUnitTestEngine->run() #10 /core/data/drydock/workingcopy-91/repo/arcanist/scripts/arcanist.php(394): ArcanistUnitWorkflow->run() #11 {main}