Commit 3b3680e4 authored by alexpott's avatar alexpott
Browse files

Issue #2549045 by pwolanin, neclimdul: Update Tests can't run with --die-on-fail

parent e27e962b
...@@ -246,6 +246,9 @@ protected function runUpdates() { ...@@ -246,6 +246,9 @@ protected function runUpdates() {
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function rebuildAll() { protected function rebuildAll() {
// We know the rebuild causes notices, so don't exit on failure.
$die_on_fail = $this->dieOnFail;
$this->dieOnFail = FALSE;
parent::rebuildAll(); parent::rebuildAll();
// Remove the notices we get due to the menu link rebuild prior to running // Remove the notices we get due to the menu link rebuild prior to running
...@@ -257,6 +260,7 @@ protected function rebuildAll() { ...@@ -257,6 +260,7 @@ protected function rebuildAll() {
$this->results['#exception']--; $this->results['#exception']--;
} }
} }
$this->dieOnFail = $die_on_fail;
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment