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

user_search_testcase::test_users_document random fail

XMLWordPrintable

    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-55357_master
    • Hide

      master

      1. for i in `seq 1 30`; do vendor/bin/phpunit user/tests/search_test.php ; done
      2. Check that non of them fail

      31

      1. Add an activity with name "伟 张 伟 张"
      2. Set up global search with solr and index your site contents (you can use indexer.php with --reindex option if your site contents were already indexed)
      3. Search for 伟
      4. The returned results should include 伟 张
      Show
      master for i in `seq 1 30`; do vendor/bin/phpunit user/tests/search_test.php ; done Check that non of them fail 31 Add an activity with name "伟 张 伟 张" Set up global search with solr and index your site contents (you can use indexer.php with --reindex option if your site contents were already indexed) Search for 伟 The returned results should include 伟 张

      Every now and again we get this failure (I guess when we get the 'problematic' characters):

      user_search_testcase::test_users_document
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'伟 张'
      +'伟 ? '
      

      http://ci.stronk7.com/job/20.%20Run%20phpunit%20UnitTests%20(master)/8082/testReport/junit/(root)/user_search_testcase/test_users_document/

            dmonllao David Monllaó
            poltawski Dan Poltawski
            Jun Pataleta Jun Pataleta
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.