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

random php failure @ auth_ldap_plugin_testcase::test_auth_ldap

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5, 3.5.2, 3.6
    • Fix Version/s: None
    • Component/s: Authentication, Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      Rarely we get this failure happening, creating this issue to track it.

      There was 1 failure:
       
      1) auth_ldap_plugin_testcase::test_auth_ldap
      Failed asserting that core\event\user_created Object (...) is an instance of class "\core\event\role_assigned".
       
      /var/www/html/auth/ldap/tests/plugin_test.php:154
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "auth_ldap_plugin_testcase" auth/ldap/tests/plugin_test.php
      

      This time it was with Oracle, maybe caused by wrongly expected order of events. Let's see whenever it happens again.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: