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

sqlsrv authdb and enrol_db failures

XMLWordPrintable

      We are seeing consistent failures when using sqlsrv as a DB when a port is specified:

      1) auth_db_testcase::test_clean_data
      moodle_exception: Could not connect to the specified authentication database...
       
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/setuplib.php:494
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/auth.php:528
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/auth.php:297
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/tests/db_test.php:429
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "auth_db_testcase" auth/db/tests/db_test.php
       
      2) auth_db_testcase::test_deleting_with_many_users
      moodle_exception: Could not connect to the specified authentication database...
       
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/setuplib.php:494
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/auth.php:528
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/auth.php:297
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/tests/db_test.php:473
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "auth_db_testcase" auth/db/tests/db_test.php
       
      --
       
      There were 2 failures:
       
      1) auth_db_testcase::test_plugin
      Failed asserting that false is an instance of class "ADORecordSet".
       
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/auth/db/tests/db_test.php:177
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "auth_db_testcase" auth/db/tests/db_test.php
       
      2) enrol_database_testcase::test_sync_user_enrolments
      Failed asserting that 0 matches expected 2.
       
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/enrol/database/tests/sync_test.php:252
      /Users/nicols/Sites/moodles/imsqlsrv/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "enrol_database_testcase" enrol/database/tests/sync_test.php
      
      

            stronk7 Eloy Lafuente (stronk7)
            dobedobedoh Andrew Lyons
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 25 minutes
                4h 25m

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