\Drupal::messenger()->addError(t('The test run did not successfully finish.'));
\Drupal::messenger()->addWarning(t('Use the <em>Clean environment</em> button to clean-up temporary files and tables.'));
@@ -432,7 +432,7 @@ function _simpletest_batch_finished($success, $results, $operations, $elapsed) {
*/
functionsimpletest_last_test_get($test_id){
@trigger_error(__FUNCTION__.' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\TestDatabase::lastTestGet() instead. See https://www.drupal.org/node/3075252',E_USER_DEPRECATED);
echo'Simpletest database and files kept and test exited immediately on fail so should be reproducible if you change settings.php to use the database prefix '.$db_prefix.' and config directories in '.$test_directory."\n";
@@ -899,7 +899,8 @@ function simpletest_script_cleanup($test_id, $test_class, $exitcode) {
}
// Retrieve the last database prefix used for testing.