diff --git a/pom.xml b/pom.xml index 5659732177..5868cb48fb 100644 --- a/pom.xml +++ b/pom.xml @@ -192,6 +192,9 @@ **/examples/*Example.java + + alphabetical + diff --git a/src/test/java/redis/clients/jedis/SentinelMasterListenerTest.java b/src/test/java/redis/clients/jedis/ZSentinelMasterListenerTest.java similarity index 98% rename from src/test/java/redis/clients/jedis/SentinelMasterListenerTest.java rename to src/test/java/redis/clients/jedis/ZSentinelMasterListenerTest.java index fe193a258b..f1c55c3bf0 100644 --- a/src/test/java/redis/clients/jedis/SentinelMasterListenerTest.java +++ b/src/test/java/redis/clients/jedis/ZSentinelMasterListenerTest.java @@ -13,9 +13,9 @@ /** * In order to simulate the scenario of active/standby switching. this test case will effect all the * sentinel test case, you can run this test case separately + * ZSentinelMasterListenerTest start with "Z" to ensure this test case should be run as last one */ -@Ignore -public class SentinelMasterListenerTest { +public class ZSentinelMasterListenerTest { private static final String MASTER_NAME = "mymaster"; public static final HostAndPort sentinel1 = HostAndPorts.getSentinelServers().get(0);