This test will set up and get a master from a Redis master slave pair being watched by 2 Sentinels. It pings the master, segfaults it, asks the pool for another connection and makes sure it can ping it. This commit also restores the pom.xml file's scm information back to xetorthio and adds the default Sentinel port to the Procotol.
114 lines
3.3 KiB
XML
114 lines
3.3 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>2.2.2-SNAPSHOT</version>
|
|
<name>Jedis</name>
|
|
<description>Jedis is a blazingly small and sane Redis java client.</description>
|
|
<url>https://github.com/xetorthio/jedis</url>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Jedis Mailing List</name>
|
|
<post>jedis_redis@googlegroups.com</post>
|
|
<archive>
|
|
http://groups.google.com/group/jedis_redis
|
|
</archive>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT</name>
|
|
<url>http://github.com/xetorthio/jedis/raw/master/LICENSE.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<issueManagement>
|
|
<system>github</system>
|
|
<url>http://github.com/xetorthio/jedis/issues</url>
|
|
</issueManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:xetorthio/jedis.git</connection>
|
|
<url>scm:git:git@github.com:xetorthio/jedis.git</url>
|
|
<developerConnection>scm:git:git@github.com:xetorthio/jedis.git</developerConnection>
|
|
</scm>
|
|
|
|
<properties>
|
|
<redis-hosts>localhost:6379,localhost:6380,localhost:6381,localhost:6382</redis-hosts>
|
|
<sentinel-hosts>localhost:26379,localhost:26380</sentinel-hosts>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.1</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-pool</groupId>
|
|
<artifactId>commons-pool</artifactId>
|
|
<version>1.5.5</version>
|
|
<type>jar</type>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.0.2</version>
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<redis-hosts>${redis-hosts}</redis-hosts>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<configuration>
|
|
<attach>true</attach>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.0-beta-9</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|