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

Sporadic failures of moodlelib_testcase::test_fullname

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:

      Description

      We've seen a couple of 'out of the blue' failures of the new test_fullname tests:

      moodlelib_testcase::test_fullname
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'Fletcher å¼ Scott スコット'
      +'Fletcher å¼  Scott スコット'
       
      /Users/Shared/Jenkins/Home/git_repositories/master/lib/tests/moodlelib_test.php:2675
      /Users/Shared/Jenkins/Home/git_repositories/master/lib/phpunit/classes/advanced_testcase.php:76
      

      This has probably only happened 1 in 100 unit test runs, but any sort of random failures need to be investigated. They must pass all the time.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: