An exception is thrown when containers are defined in docker-compose file and autoStartContainers is used. I'm working with the latest SNAPSHOT (but with previous releases problem was the same)
I'm getting nasty exception
com.example.TranslationTest: java.util.HashSet cannot be cast to java.util.List
at org.arquillian.cube.docker.impl.util.AutoStartOrderUtil.addAll(AutoStartOrderUtil.java:103)
at org.arquillian.cube.docker.impl.util.AutoStartOrderUtil.from(AutoStartOrderUtil.java:70)
Hi @kubamarchwicki thanks for your feedback, in fact I was aware of this problem, I am going to push the code today, since I have the fix implemented locally.
An exception is thrown when containers are defined in docker-compose file and autoStartContainers is used. I'm working with the latest SNAPSHOT (but with previous releases problem was the same)
I'm getting nasty exception
with a following config
The compose is dead simple (and works with the docker-compose)
Switching to the CUBE format solves the problem
I my (inexperienced) view the problem is within this line https://github.com/arquillian/arquillian-cube/blob/master/docker/docker/src/main/java/org/arquillian/cube/docker/impl/docker/compose/ContainerBuilder.java#L294 which returns
HashSet
while everything else expects aList
This fixes (worksaround?) the issue:
I'm happy to do a proper pull request, but I need some support and guidance. Still can't get my head around the code base.