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

cachestore_memcached_test::test_multi_use_compatibility is failing again with memcached 1.5.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.4, 3.3.1, 3.4
    • Fix Version/s: None
    • Component/s: Caching, Unit tests
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      Server version 1.5(.1) is failing the test cachestore_memcached_test::test_multi_use_compatibility

      Steps to reproduce..

      1. Clone https://github.com/moodlehq/moodle-docker
      2. Edit phpunit-external-services.yml to change the memcached images to 1.5.0
      3.

      export MOODLE_DOCKER_WWWROOT=/path/to/checkout/
      export MOODLE_DOCKER_DB=pgsql
      export SUITE=phpunit-full
      export MOODLE_DOCKER_PHPUNIT_EXTERNAL_SERVICES=true
      ./tests/setup.sh
      bin/moodle-docker-compose exec webserver vendor/bin/phpunit cachestore_memcached_test cache/stores/memcached/tests/memcached_test.php
      

      Note that there is 1 failure
      4. Repeat with memcached 1.4 and see the same doesn't happen

      NOTE: this particular test has been extremely buggy see MDL-58752 and MDL-56675 for previous issues..

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: