Skip to content

Commit 5930cce

Browse files
committed
Debug test
1 parent 5566a34 commit 5930cce

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

http-tests/admin/model/ontology-import-upload-no-deadlock.sh

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,8 @@ clear-ontology.sh \
8181

8282
echo "Cleared ontology cache to force reload"
8383

84-
# Step 5: Make a request that triggers ontology loading
85-
# This would cause a deadlock without the OntologyFilter fix
86-
87-
echo "Making request to trigger ontology loading (testing for deadlock)..."
88-
89-
curl -k -f -s \
90-
-E "$OWNER_CERT_FILE":"$OWNER_CERT_PWD" \
91-
-H "Accept: application/n-triples" \
92-
"$namespace_doc" > /dev/null
93-
94-
echo "Request completed successfully (no deadlock)"
95-
96-
# Step 6: Verify the import is present in the loaded ontology
84+
# Step 5: Verify the import is present in the loaded ontology
85+
# This request also triggers ontology loading and would detect deadlock
9786

9887
curl -k -f -s \
9988
-H "Accept: application/n-triples" \
@@ -102,7 +91,7 @@ curl -k -f -s \
10291

10392
echo "Verified owl:import is present in namespace ontology"
10493

105-
# Step 7: Verify the uploaded file is still accessible after ontology loading
94+
# Step 6: Verify the uploaded file is still accessible after ontology loading
10695

10796
curl -k -f -s \
10897
-E "$AGENT_CERT_FILE":"$AGENT_CERT_PWD" \
@@ -111,7 +100,7 @@ curl -k -f -s \
111100

112101
echo "Uploaded file is still accessible after ontology import"
113102

114-
# Step 8: Verify that the imported ontology content is accessible via the namespace document
103+
# Step 7: Verify that the imported ontology content is accessible via the namespace document
115104
# This confirms the import was actually loaded (not just skipped)
116105

117106
curl -k -f -s \

0 commit comments

Comments
 (0)