Skip to content

Commit 736a9a7

Browse files
committed
Test debug output
1 parent 1c36be1 commit 736a9a7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

http-tests/admin/packages/install-package-stylesheet.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ install_status=$(curl -k -w "%{http_code}\n" -o /dev/null -f -s \
2222
echo "Install status: $install_status (expected: $STATUS_SEE_OTHER)"
2323
echo "$install_status" | grep -q "$STATUS_SEE_OTHER"
2424

25-
echo "### STEP 2.5: Verifying stylesheet file exists"
26-
docker compose exec linkeddatahub ls -l webapps/ROOT/static/com/linkeddatahub/packages/skos
25+
# Verify stylesheet file exists in Tomcat's webapps directory
26+
docker compose exec -T linkeddatahub ls -l webapps/ROOT/static/com/linkeddatahub/packages/skos
27+
28+
# Make internal request from nginx to Tomcat to warm up static file cache
29+
docker compose exec -T nginx curl -s -o /dev/null http://linkeddatahub:7070/static/com/linkeddatahub/packages/skos/layout.xsl
2730

2831
# verify package stylesheet was installed (should return 200)
2932
echo "### STEP 3: Verifying package stylesheet exists"

0 commit comments

Comments
 (0)