Skip to content

Commit

Permalink
Fix graalvm bats tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zanini <[email protected]>
  • Loading branch information
ricardozanini committed Dec 22, 2023
1 parent c50f0ff commit 7f7c006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
export KOGITO_HOME=/tmp/kogito
export JBOSS_CONTAINER_JAVA_JVM_MODULE=${KOGITO_HOME}/launch
mkdir -p "${KOGITO_HOME}"/launch
cp $BATS_TEST_DIRNAME/../../../kogito-logging/added/logging.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../kogito-dynamic-resources/added/container-limits "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../../kogito-logging/added/logging.sh "${KOGITO_HOME}"/launch/
cp $BATS_TEST_DIRNAME/../../../../kogito-dynamic-resources/added/container-limits "${KOGITO_HOME}"/launch/

# imports
source $BATS_TEST_DIRNAME/../../added/memory-limit.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-bats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo "----> running bats on kogito-explainability"
./bats/bin/bats modules/kogito-explainability/tests/bats

echo "----> running bats on kogito-graalvm-scripts"
./bats/bin/bats modules/kogito-graalvm-scripts/tests/bats
./bats/bin/bats modules/kogito-graalvm-scripts/common/tests/bats

echo "----> running bats on kogito-jobs-service-common"
./bats/bin/bats modules/kogito-jobs-service-common/tests/bats
Expand Down

0 comments on commit 7f7c006

Please sign in to comment.