Class InfinispanXSiteServerRule
java.lang.Object
org.infinispan.server.test.junit4.InfinispanXSiteServerRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Creates a cluster of sites to be used for running multiple tests
for Cross-Site replication functionality, It performs the following tasks
- It creates a temporary directory using the test name
- It creates a runtime directory structure for each server in the cluster (data, log, lib)
- It populates the configuration directory with multiple certificates (ca.pfx, server.pfx, user1.pfx, user2.pfx)
- Since:
- 12.0
- Author:
- Gustavo Lira <gliraesi@redhat.com>
-
Constructor Summary
ConstructorsConstructorDescriptionInfinispanXSiteServerRule(List<org.infinispan.server.test.core.TestServer> testServers) -
Method Summary
-
Constructor Details
-
InfinispanXSiteServerRule
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-
getTestServers
-