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

Class 'Redis' not found warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      When running PHPUnit tests without Redis server, 2 warnings are shown:

      Output

      There were 2 warnings:
      1) Warning
      The data provider specified for cachestore_redis_compressor_test::test_it_can_use_getset is invalid.
      Class 'Redis' not found
      To re-run:
      vendor/bin/phpunit --verbose "PHPUnit\Framework\WarningTestCase" vendor/phpunit/phpunit/src/Framework/WarningTestCase.php
      2) Warning
      The data provider specified for cachestore_redis_compressor_test::test_it_can_use_getsetmany is invalid.
      Class 'Redis' not found
      To re-run:
      vendor/bin/phpunit --verbose "PHPUnit\Framework\WarningTestCase" vendor/phpunit/phpunit/src/Framework/WarningTestCase.php

      cfr https://travis-ci.org/ewallah/moodle/jobs/598019602#L1494

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rdebleu Renaat Debleu
            Participants:
            Component watchers:
            Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: