You are here

protected function Redis_Tests_Cache_CompressedPhpRedisShardedWithPipelineFixesUnitTestCase::getClientInterface in Redis 7.3

Set up the Redis configuration.

Set up the needed variables using variable_set() if necessary.

Return value

string Client interface or null if not exists

Overrides Redis_Tests_AbstractUnitTestCase::getClientInterface

File

lib/Redis/Tests/Cache/CompressedPhpRedisShardedWithPipelineFixesUnitTestCase.test, line 19

Class

Redis_Tests_Cache_CompressedPhpRedisShardedWithPipelineFixesUnitTestCase

Code

protected function getClientInterface() {
  $GLOBALS['conf']['redis_flush_mode'] = Redis_Cache::FLUSH_SHARD_WITH_PIPELINING;
  return 'PhpRedis';
}