Commit 41902d3d authored by catch's avatar catch
Browse files

Issue #2246447 by alexpott, xjm: Random failure in Drupal\search\Tests\SearchPageTextTest.

parent 1d8a302a
Loading
Loading
Loading
Loading
+2 −1
Changes for core/modules/search/lib/Drupal/search/Tests/SearchPageTextTest.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -66,7 +66,8 @@ function testSearchText() {
    $limit = \Drupal::config('search.settings')->get('and_or_limit');
    $keys = array();
    for ($i = 0; $i < $limit + 1; $i++) {
      $keys[] = $this->randomName(3);
      // Use a key of 4 characters to ensure we never generate 'AND' or 'OR'.
      $keys[] = $this->randomName(4);
      if ($i % 2 == 0) {
        $keys[] = 'OR';
      }