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

auth_ldap_plugin_testcase::test_ldap_user_loggedin_event has time-depdencey

    XMLWordPrintable

    Details

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

      Description

      We are getting sporadic fails of this:

      auth_ldap_plugin_testcase::test_ldap_user_loggedin_event
      Failed asserting that two objects are equal.
      --- Expected
      +++ Actual
      @@ @@
           'preference' => Array (
      -        '_lastloaded' => 1382940910
      +        '_lastloaded' => 1382940909
           )
       )
       
      /Users/Shared/Jenkins/Home/git_repositories/master/auth/ldap/tests/plugin_test.php:300
      /Users/Shared/Jenkins/Home/git_repositories/master/lib/phpunit/classes/advanced_testcase.php:80
      

      Hopefully it can be fixed in a similar way to MDL-41935

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: