diff --git a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php
index 702fdb2..fa46f19 100644
--- a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php
+++ b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php
@@ -248,6 +248,7 @@ protected function runUpdates() {
     $this->doSelectionTest();
     // Run the update hooks.
     $this->clickLink(t('Apply pending updates'));
+    $this->assertResponse(200);
 
     // Ensure there are no failed updates.
     if ($this->checkFailedUpdates) {
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index 2936723..8dc323c 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -1062,6 +1062,11 @@ function simpletest_script_get_test_list() {
       }
     }
   }
+  foreach ($test_list as $key => $class) {
+    if (!is_subclass_of($class, 'Drupal\system\Tests\Update\UpdatePathTestBase')) {
+      unset($test_list[$key]);
+    }
+  }
 
   // If the test list creation does not automatically limit by test type then
   // we need to do so here.
