INT-2008 changed single test to test Redis instance running on non-default port

This commit is contained in:
Oleg Zhurakousky
2011-07-26 17:55:56 -04:00
parent 3ed5aa301f
commit 21e25ac1f2

View File

@@ -36,6 +36,7 @@ public class SubscribableRedisChannelTests {
@Test //@Ignore // requires instance of redis-server
public void pubSubChanneTest() throws Exception{
JedisConnectionFactory connectionFactory = new JedisConnectionFactory();
connectionFactory.setPort(7379);
connectionFactory.afterPropertiesSet();
SubscribableRedisChannel channel = new SubscribableRedisChannel(connectionFactory, "si.test.channel");