AggregatorLocalTasksTest causes the GitLab CI pipeline to time out

Created on 26 November 2023, about 1 year ago
Updated 29 November 2023, about 1 year ago

This test passes on Drupal CI and locally. But GitLab runs and runs on this test until it times out, see πŸ“Œ Enable GitLab CI Active . There's a while loop in there that could easily create an infinite loop:

  protected function setUp(): void {
    // Find core directory.
    $core_dir = __DIR__;
    while (!file_exists($core_dir . '/index.php')) {
      $core_dir = dirname($core_dir);
    }
    $this_dir = dirname(__DIR__, 4);
    $relative_path_to_module = substr($this_dir, strlen($core_dir));
    $this->directoryList = ['aggregator' => $relative_path_to_module];
    parent::setUp();
  }
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024