Update the Infinispan client to the latest version
This commit is contained in:
parent
e375c73813
commit
ebb1320506
4 changed files with 26 additions and 2 deletions
2
pom.xml
2
pom.xml
|
@ -17,7 +17,7 @@
|
|||
<!-- Dependency versions -->
|
||||
<testcontainers.version>1.5.0</testcontainers.version>
|
||||
|
||||
<infinispan.version>9.1.3.Final</infinispan.version>
|
||||
<infinispan.version>9.1.4.Final</infinispan.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
|
24
src/test/java/Infinispan90xContainerIntegrationTest.java
Normal file
24
src/test/java/Infinispan90xContainerIntegrationTest.java
Normal file
|
@ -0,0 +1,24 @@
|
|||
import de.rpr.testcontainers.infinispan.InfinispanContainer;
|
||||
import org.infinispan.client.hotrod.ProtocolVersion;
|
||||
import org.junit.ClassRule;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
public class Infinispan91xContainerIntegrationTest {
|
||||
|
||||
@ClassRule
|
||||
public static InfinispanContainer infinispan = new InfinispanContainer("jboss/infinispan-server:9.1.4.Final")
|
||||
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26)
|
||||
.withCaches("testCache");
|
||||
|
||||
@Test
|
||||
public void rule_should_have_mapped_hotrod_port() {
|
||||
assertNotNull(infinispan.getMappedPort(11222));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void should_get_existing_cache() {
|
||||
assertNotNull(infinispan.getCacheManager().getCache("testCache"));
|
||||
}
|
||||
}
|
|
@ -8,7 +8,7 @@ import static org.junit.Assert.assertNotNull;
|
|||
public class InfinispanContainerIntegrationTest {
|
||||
|
||||
@ClassRule
|
||||
public static InfinispanContainer infinispan = new InfinispanContainer()
|
||||
public static InfinispanContainer infinispan = new InfinispanContainer("jboss/infinispan-server:9.1.4.Final")
|
||||
.withProtocolVersion(ProtocolVersion.PROTOCOL_VERSION_26)
|
||||
.withCaches("testCache");
|
||||
|
0
src/test/resources/infinispan-90x-standalone.xml
Normal file
0
src/test/resources/infinispan-90x-standalone.xml
Normal file
Loading…
Reference in a new issue