rzo1 commented on PR #1544:
URL: https://github.com/apache/stormcrawler/pull/1544#issuecomment-2932104076

   > > I am wondering, if it would be possible, to add some (simple) 
Testcontainer based unit test? I guess, it would need zookeeper for cloud mode? 
Maybe there is a way to do it, because it would be really good to have some 
coverage :)
   > 
   > In principle, yes, but I had difficulties running everything in containers 
because the Zookeeper container advertises something like "zookeeper:2181" to 
the Solr containers inside the Docker network, and from the host (where 
StormCrawler runs), you cannot resolve "zookeeper". That being said, I agree 
that we should have some tests for Solr Cloud, and I will give it another try.
   
   The guys from Apache Camel had a similar issue: 
https://github.com/apache/camel-quarkus/tree/e5e768acd680b0d78122fb7eee30b0a70947f3f9/integration-tests/solr/src/test
 - looks like their setup worked (somehow) - maybe we can just port it for our 
needs?
   
   They bascially rely on docker compose (in two variants) to spin it up. Maybe 
worth a look?


-- 
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: dev-unsubscr...@stormcrawler.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to