Commit 6ee54f81 authored by catch's avatar catch
Browse files

task: #3628411 [ci] Share compiled scripts between PHPUnit processes with opcache.file_cache

By: andypost
By: longwave
By: catch
(cherry picked from commit 43689224)
parent f65bccd4
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for .gitlab-ci.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -976,8 +976,8 @@ default:
    PHPUNIT_FAIL_ON_PHPUNIT_DEPRECATION: true
  before_script:
    - *composer-setup
    - mkdir -p ./sites/simpletest ./sites/default/files ./build/logs/junit /var/www/.composer
    - chown -R www-data:www-data ./sites ./build/logs/junit ./vendor /var/www/
    - mkdir -p ./sites/simpletest ./sites/default/files ./build/logs/junit /var/www/.composer /var/cache/opcache-cli
    - chown -R www-data:www-data ./sites ./build/logs/junit ./vendor /var/www/ /var/cache/opcache-cli
  script:
    - export EXIT_CODE=0
    - sudo -u www-data -E -H php ./core/scripts/run-tests.sh --color --keep-results --types "unit" --concurrency "$CONCURRENCY" --repeat "1" --verbose --non-html --all || EXIT_CODE=$?
+1 −1
Changes for core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FieldTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public function testModalDialogTitle(): void {
    $page->clickLink('Content link');
    // Verify the modal title.
    $web_assert->assertWaitOnAjaxRequest();
    $this->assertEquals('Content', $web_assert->waitForElement('css', '.ui-dialog-title')->getText());
    $this->assertEquals('Content', $web_assert->waitForElementVisible('css', '.ui-dialog-title')->getText());
  }

  /**