diff --git a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
index 454e3a2..9294f65 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
@@ -245,6 +245,11 @@ protected function performUpgrade($register_errors = TRUE) {
       throw new Exception('POST to update.php to apply pending updates did not return HTTP 200 status.');
     }
 
+    if (!$this->assertNoText(t('An unrecoverable error has occured.'))) {
+      // Error occured during update process.
+      throw new Exception('POST to update.php to apply pending updates detected an unrecoverable error.');
+    }
+
     // Check for errors during the update process.
     foreach ($this->xpath('//li[@class=:class]', array(':class' => 'failure')) as $element) {
       $message = strip_tags($element->asXML());
