Skip to content
Snippets Groups Projects
Commit cebe64e0 authored by catch's avatar catch
Browse files

Issue #3379560 by berdir, nlisgo, smustgrave: Random test failure in...

Issue #3379560 by berdir, nlisgo, smustgrave: Random test failure in CronRunTest::testCronUI: The text "Last run: never" was not found
parent 3465f9c1
No related branches found
No related tags found
2 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!10223132456: Fix issue where views instances are emptied before an ajax request is complete
Pipeline #413650 passed with warnings
Pipeline: drupal

#413670

    Pipeline: drupal

    #413659

      Pipeline: drupal

      #413653

        ......@@ -118,6 +118,11 @@ public function testCronExceptions(): void {
        * Make sure the cron UI reads from the state storage.
        */
        public function testCronUI(): void {
        // To prevent race conditions between the admin_user login triggering cron
        // and updating its state, and this test doing the same thing, we use
        // \Drupal\Tests\WaitTerminateTestTrait::setWaitForTerminate().
        $this->setWaitForTerminate();
        $admin_user = $this->drupalCreateUser(['administer site configuration']);
        $this->drupalLogin($admin_user);
        \Drupal::state()->delete('system.cron_last');
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment