use of redis.embedded.RedisServer in project nifi by apache.
the class ITRedisStateProvider method setup.
@Before
public void setup() throws Exception {
final int redisPort = getAvailablePort();
this.redisServer = new RedisServer(redisPort);
redisServer.start();
final Map<PropertyDescriptor, String> properties = new HashMap<>();
properties.put(RedisUtils.CONNECTION_STRING, "localhost:" + redisPort);
this.provider = createProvider(properties);
}
use of redis.embedded.RedisServer in project cas by apereo.
the class RedisServiceRegistryTests method startRedis.
@BeforeClass
public static void startRedis() throws Exception {
REDIS_SERVER = new RedisServer(6380);
REDIS_SERVER.start();
}
use of redis.embedded.RedisServer in project tutorials by eugenp.
the class RedissonIntegrationTest method setUp.
@BeforeClass
public static void setUp() throws IOException {
redisServer = new RedisServer(6379);
redisServer.start();
client = Redisson.create();
}
use of redis.embedded.RedisServer in project tutorials by eugenp.
the class JedisIntegrationTest method setUp.
@BeforeClass
public static void setUp() throws IOException {
redisServer = new RedisServer(6379);
redisServer.start();
}
use of redis.embedded.RedisServer in project cas by apereo.
the class RedisTicketRegistryTests method startRedis.
@BeforeClass
public static void startRedis() throws Exception {
REDIS_SERVER = new RedisServer(6379);
REDIS_SERVER.start();
}
Aggregations