mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-492: Giving tests their own namespace
This commit is contained in:
+2
-2
@@ -1722,9 +1722,9 @@ public abstract class AbstractAlfrescoDistributedTest extends SolrTestCaseJ4
|
||||
* Creates the jetty servers with the specified number of shards and sensible defaults.
|
||||
* @param numShards
|
||||
*/
|
||||
public JettyServerRule(int numShards, Properties solrcoreProperties)
|
||||
public JettyServerRule(int numShards, AbstractAlfrescoDistributedTest testClass, Properties solrcoreProperties)
|
||||
{
|
||||
this.serverName = DEFAULT_TEST_CORENAME;
|
||||
this.serverName = testClass.getClass().getSimpleName();
|
||||
coreNames = new String[]{DEFAULT_TEST_CORENAME};
|
||||
this.numShards = numShards;
|
||||
this.solrcoreProperties = solrcoreProperties;
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ import org.junit.Test;
|
||||
public class DistributedAclIdAlfrescoSolrTrackerTest extends AbstractAlfrescoDistributedTest
|
||||
{
|
||||
@Rule
|
||||
public JettyServerRule jetty = new JettyServerRule(2,getShardMethod());
|
||||
public JettyServerRule jetty = new JettyServerRule(2,this, getShardMethod());
|
||||
|
||||
@Test
|
||||
public void testAclId() throws Exception
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ import org.junit.Test;
|
||||
public class DistributedDbidRangeAlfrescoSolrTrackerTest extends AbstractAlfrescoDistributedTest
|
||||
{
|
||||
@Rule
|
||||
public JettyServerRule jetty = new JettyServerRule(2,getShardMethod());
|
||||
public JettyServerRule jetty = new JettyServerRule(2,this, getShardMethod());
|
||||
|
||||
@Test
|
||||
public void testDbIdRange() throws Exception
|
||||
|
||||
Reference in New Issue
Block a user