Skip to content

Commit

Permalink
ACS-6112: re-enable disabled test (#2624)
Browse files Browse the repository at this point in the history
* ACS-6112: re-enable testSecondaryAncestorWithNodeHavingComplexSecondaryRelationship
- open debug port for live-indexer in E2Es
  • Loading branch information
krdabrowski authored Nov 2, 2023
1 parent fdf4f38 commit a3c2456
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.alfresco.utility.model.FileModel;
import org.alfresco.utility.model.TestGroup;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Ignore;
import org.testng.annotations.Test;

/**
Expand Down Expand Up @@ -103,8 +102,7 @@ public void testSecondaryAncestorWithDocumentAsSecondaryChild()
fileInP.getName());
}

@Test(groups = TestGroup.SEARCH, enabled = false)
@Ignore("ACS-6112")
@Test(groups = TestGroup.SEARCH)
public void testSecondaryAncestorWithNodeHavingComplexSecondaryRelationship()
{
// then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,18 @@ private void startOrFail(Startable... startables)

}

protected GenericContainer createLiveIndexingContainer()
protected GenericContainer<?> createLiveIndexingContainer()
{
return new GenericContainer(getImagesConfig().getLiveIndexingImage())
.withNetwork(network)
.withNetworkAliases("live-indexing")
.withEnv("ELASTICSEARCH_INDEXNAME", CUSTOM_ALFRESCO_INDEX)
.withEnv("SPRING_ELASTICSEARCH_REST_URIS", "http://elasticsearch:9200")
.withEnv("SPRING_ACTIVEMQ_BROKERURL", "nio://activemq:61616")
.withEnv("ALFRESCO_SHAREDFILESTORE_BASEURL", "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file/")
.withEnv("ALFRESCO_ACCEPTEDCONTENTMEDIATYPESCACHE_BASEURL", "http://transform-core-aio:8090/transform/config");
return new GenericContainer<>(getImagesConfig().getLiveIndexingImage())
.withNetwork(network)
.withNetworkAliases("live-indexing")
.withEnv("ELASTICSEARCH_INDEXNAME", CUSTOM_ALFRESCO_INDEX)
.withEnv("SPRING_ELASTICSEARCH_REST_URIS", "http://elasticsearch:9200")
.withEnv("SPRING_ACTIVEMQ_BROKERURL", "nio://activemq:61616")
.withEnv("ALFRESCO_SHAREDFILESTORE_BASEURL", "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file/")
.withEnv("ALFRESCO_ACCEPTEDCONTENTMEDIATYPESCACHE_BASEURL", "http://transform-core-aio:8090/transform/config")
.withEnv("JAVA_TOOL_OPTIONS", "-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=n")
.withExposedPorts(5005);
}

protected GenericContainer createSearchEngineContainer()
Expand Down

0 comments on commit a3c2456

Please sign in to comment.