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

Random mod_chat failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5
    • Fix Version/s: None
    • Component/s: Chat
    • Labels:
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      $ vendor/bin/phpunit --filter "test_get_session_messages" --repeat=50
      Moodle 3.5dev (Build: 20180316), fa54a1a7e24eeaaf8dbffbcc653ae1e53baaa83a
      Php: 7.0.28.0.0.16.04.1, mysqli: 5.7.21-0ubuntu0.16.04.1, OS: Linux 4.13.0-37-generic x86_64
      PHPUnit 6.5.7 by Sebastian Bergmann and contributors.
       
      ..............................................F...                50 / 50 (100%)
       
      Time: 26.65 seconds, Memory: 290.00MB
       
      There was 1 failure:
       
      1) mod_chat_external_testcase::test_get_session_messages
      Failed asserting that actual size 4 matches expected size 5.
       
      /home/jun/moodles/integration_master/moodle/mod/chat/tests/externallib_test.php:477
      /home/jun/moodles/integration_master/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit mod_chat_external_testcase mod/chat/tests/externallib_test.php
       
      FAILURES!
      Tests: 50, Assertions: 296, Failures: 1.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jpataleta Jun Pataleta
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: