use of redis.embedded.RedisServer in project nifi by apache.
the class ITRedisDistributedMapCacheClientService method setup.
@Before
public void setup() throws IOException {
this.redisPort = getAvailablePort();
this.redisServer = new RedisServer(redisPort);
redisServer.start();
proc = new TestRedisProcessor();
testRunner = TestRunners.newTestRunner(proc);
}
use of redis.embedded.RedisServer in project Stores by Discord4J.
the class IntegrationTests method setUp.
@Before
public void setUp() throws IOException {
redisServer = new RedisServer(32768);
redisServer.start();
Runtime.getRuntime().addShutdownHook(new Thread(() -> redisServer.stop()));
service = new LettuceStoreService();
}
use of redis.embedded.RedisServer in project tutorials by eugenp.
the class RedissonConfigurationIntegrationTest method setUp.
@BeforeClass
public static void setUp() throws IOException {
redisServer = new RedisServer(6379);
redisServer.start();
}
Aggregations