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

Problem with phpunit and 32 bits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Unit tests
    • Labels:
    • Testing Instructions:
      Hide
      PHPUnit
      1. Run PHPUnit for the core_course_externallib_testcase on Windows 32-bit with PHP5.6 and PHP7.

        vendor/bin/phpunit -c course core_course_externallib_testcase course/tests/externallib_test.php
        

        • Confirm everything passes.
      Show
      PHPUnit Run PHPUnit for the core_course_externallib_testcase on Windows 32-bit with PHP5.6 and PHP7. vendor/bin/phpunit -c course core_course_externallib_testcase course/tests/externallib_test.php Confirm everything passes.
    • Workaround:
      Hide

      Use 64bits for running tests :-P
      (joking, it's a need to have at least 1 32 bits run!!)

      Show
      Use 64bits for running tests :-P (joking, it's a need to have at least 1 32 bits run!!)
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58794-master

      Description

      Initially I thought this was because of my old mssql driver... (freetds 0.95)

      https://pastebin.com/tWWyrAWV

      But I've been able to reproduce the same with postgres:

      https://pastebin.com/A0DpGYec

      So, this needs to be investigated. Before release.

      Would be great to confirm if it's restricted to windows, to php 5.6... if it's only me... and then look for a fix.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17