This is an automated email from the ASF dual-hosted git repository. pinal pushed a commit to branch ATLAS-4991_n in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/ATLAS-4991_n by this push: new d7c28345c ATLAS-4991: Support running IT tests while building Atlas through docker (2) d7c28345c is described below commit d7c28345cacc63c83f40271ec998a93905cab9cc Author: Pinal Shah <pinal.s...@freestoneinfotech.com> AuthorDate: Thu May 1 17:28:28 2025 +0700 ATLAS-4991: Support running IT tests while building Atlas through docker (2) --- .github/workflows/ci.yml | 2 +- webapp/src/test/java/org/apache/atlas/web/filters/HeaderUtilsTest.java | 2 +- webapp/src/test/resources/atlas-application.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba6f8f1d..57f4ce754 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: cd dev-support/atlas-docker export DOCKER_BUILDKIT=1 export COMPOSE_DOCKER_CLI_BUILD=1 - SKIPTESTS=false docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up + SKIPTESTS=false PROFILE= docker compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up ATLAS_BUILD_CONTAINER=$(docker ps -a -q --filter "name=atlas-build") EXIT_CODE=$(docker inspect --format '{{.State.ExitCode}}' "$ATLAS_BUILD_CONTAINER") diff --git a/webapp/src/test/java/org/apache/atlas/web/filters/HeaderUtilsTest.java b/webapp/src/test/java/org/apache/atlas/web/filters/HeaderUtilsTest.java index a6113a52f..d3927f698 100644 --- a/webapp/src/test/java/org/apache/atlas/web/filters/HeaderUtilsTest.java +++ b/webapp/src/test/java/org/apache/atlas/web/filters/HeaderUtilsTest.java @@ -100,7 +100,7 @@ public class HeaderUtilsTest { Properties props = new Properties(); for (int i = 0; i < headers.length / 2; i++) { - props.setProperty(headers[i * 2], headers[(i *2) + 1]); + props.setProperty(headers[i * 2], headers[(i * 2) + 1]); } return props; diff --git a/webapp/src/test/resources/atlas-application.properties b/webapp/src/test/resources/atlas-application.properties index b5c707ed1..fc4336a74 100644 --- a/webapp/src/test/resources/atlas-application.properties +++ b/webapp/src/test/resources/atlas-application.properties @@ -35,7 +35,7 @@ atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.InMemoryEntit atlas.graph.index.search.backend=solr #Berkeley storage directory -atlas.graph.storage.directory=${sys:atlas.data}/berkley +atlas.graph.storage.directory=${sys:atlas.data} atlas.graph.storage.transactions=true #hbase