Skip to content

Commit

Permalink
updated automated-testing.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelp1986 committed Oct 23, 2023
1 parent 8d3e776 commit 443919f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/automated-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,21 @@ jobs:
cd ..
docker compose \
--ansi never --profile int-registry-batch-loader up --detach --quiet-pull
curl --get localhost:8080/products
# registry-api#296 API crashes with JVM memory error on data sets with very large labels (>1MB)
# run the query 20 times, there should not be any errors if there is enough memory allocated.
for i in {1..20}; do
curl --GET "localhost:8080/products?q=lidvid%20like%20%22urn:nasa:pds:mars2020_sherloc*%22"
if [[ $? -ne 0 ]]; then
echo "registry-api#296 failed"
exit 1
fi
done
curl --GET "localhost:8080/products?q=lidvid%20like%20%22urn:nasa:pds:mars2020_sherloc*%22"
# registry-api#305 API not returning value for NAIF bundles
curl "localhost:8080/products/urn:nasa:pds:maven.spice::5.0"
curl "localhost:8080/products/urn:nasa:pds:mars2020.spice::6.0"
curl "localhost:8080/products/urn:nasa:pds:insight.spice::15.0"
curl "localhost:8080/products/urn:esa:psa:em16_spice::6.0"

0 comments on commit 443919f

Please sign in to comment.