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

cachestore_memcached_test::test_multi_use_compatibility fails on php56

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Caching, Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE

      Description

      Configured muti-memcache:

      define('TEST_CACHESTORE_MEMCACHED_TESTSERVERS', "memcached0:11211\nmemcached1:11211");
      

      Moodle 3.3beta+ (Build: 20170426), e6dd8f32f58bd87a0b8584108b11318af187f718
      Php: 5.6.30, pgsql: 9.6.2, OS: Linux 4.4.0-62-generic x86_64
      PHPUnit 5.5.7 by Sebastian Bergmann and contributors.
       
      ..F..                                                               5 / 5 (100%)
       
      Time: 1.76 seconds, Memory: 53.00MB
       
      There was 1 failure:
       
      1) cachestore_memcached_test::test_multi_use_compatibility
      Failed asserting that 'cachestore' is false.
       
      /var/www/html/cache/stores/memcached/tests/memcached_test.php:320
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit cachestore_memcached_test cache/stores/memcached/tests/memcached_test.php
       
      FAILURES!
      Tests: 5, Assertions: 451, Failures: 1.
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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