This is an automated email from the ASF dual-hosted git repository. DImuthuUpe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
commit dc4dec95cddf2b49f186aa7373060b7649975df9 Author: DImuthuUpe <[email protected]> AuthorDate: Fri May 22 23:49:31 2026 -0400 Creating a slurm specific integration test script --- .../{run-integrations-tests.sh => slurm-integration-tests.sh} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/run-integrations-tests.sh b/scripts/slurm-integration-tests.sh similarity index 87% rename from scripts/run-integrations-tests.sh rename to scripts/slurm-integration-tests.sh index 5ed2194e5..ac88d0fe6 100755 --- a/scripts/run-integrations-tests.sh +++ b/scripts/slurm-integration-tests.sh @@ -12,9 +12,9 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" cd "${REPO_ROOT}" -# make -s -C dev-ops/local-slurm down -# make -s -C dev-ops/local-slurm build -# make -s -C dev-ops/local-slurm up +make -s -C dev-ops/local-slurm down +make -s -C dev-ops/local-slurm build +make -s -C dev-ops/local-slurm up # Mint a fresh SLURM JWT via the local-slurm Makefile target. # `make token` prints e.g. `SLURM_JWT=eyJhbGciOi...` — strip the prefix. @@ -31,6 +31,9 @@ export TEST_SLURM_API_VERSION="41" export TEST_SLURM_TOKEN="${TOKEN_LINE#SLURM_JWT=}" echo "==> TEST_SLURM_TOKEN set (${#TEST_SLURM_TOKEN} chars)" + go test -tags integration -v -count=1 \ + ./connectors/SLURM/Association-Mapper/internal/operations/... + go test -tags integration -v -count=1 \ ./connectors/SLURM/Association-Mapper/internal/subscribers/... @@ -45,4 +48,4 @@ echo "==> TEST_SLURM_TOKEN set (${#TEST_SLURM_TOKEN} chars)" # ./connectors/SLURM/Association-Mapper/internal/operations/associations_integration_test.go -# make -s -C dev-ops/local-slurm down \ No newline at end of file +make -s -C dev-ops/local-slurm down \ No newline at end of file
