nick-boss-tech commented on code in PR #5310:
URL: https://github.com/apache/solr/pull/5310#discussion_r4503007062


##########
solr/docker/tests/shared.sh:
##########
@@ -16,6 +16,25 @@
 
 # Shared functions for testing
 
+function post_test_document {
+  local core=$1
+  docker exec --user=solr "$container_name" bin/solr post -c "$core" --mode 
args --type application/xml \
+    '<add><doc><field name="id">dell</field><field name="address_s">One Dell 
Way Round Rock, Texas 78682</field></doc></add>'
+}
+
+function assert_demo_unavailable {
+  local status
+  status=$(docker wait "$container_name")

Review Comment:
   I simplified the slim demo check in 
`1d272d980e9c6923ba6a98dec8ec3126fd365224` to run the container once and check 
its exit status and message; `SOLR_DOCKER_TEST_SLIM` selects that path, while 
full images still run the demo.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to