Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86255

Fix remaining JS tests for regex optimization

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QO 2024-02-19
    • 66

      assert: [2] != [1] are not equal
      @jstests/core/query/explain/explain6.js:40
      ------------
      Error: [[ "[\"\", {})", "[/^a|b/, /^a|b/]" ]] != [[ "[MinKey, MaxKey]" ]] are not equal : Expected bounds of [ "[MinKey, MaxKey]" ] but got [ "[\"\", {})", "[/^a|b/, /^a|b/]" ]. i=0, all output:
      assertIndexBoundsAndResult@jstests/core/index/index_bounds_pipe.js:41
      ------------
      assert failed
      @jstests/core/query/regex/regex_collations.js:56
      ------------
      Error: [4] != [3] are not equal : B i 1 e :
      @jstests/core/query/regex/regex3.js:34

            Assignee:
            peter.volk@mongodb.com Peter Volk
            Reporter:
            peter.volk@mongodb.com Peter Volk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: