Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67331

search_simpledb_engine_testcase::test_search -> Failed asserting that actual size 3 matches expected size 2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.7
    • Fix Version/s: None
    • Component/s: Global search, Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      This is the result of https://tracker.moodle.org/browse/MDL-67217?focusedCommentId=739689&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-739689.

      It is not that clear to me that the search_simpledb_engine_testcase::test_search error is caused by this same usleep issue, as usleep in update_index serves a different purpose. I can clearly identify the source of the random failure in windows just by looking at the code.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dmonllao David Monllaó
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: