Docker container log should be output to the (local environment) file configured in the beforeStop section
Current Behaviour
Test fails issuing the following error:
[ERROR] no.hmskontoret.hmskontoret.risikosenter.ros.RiskArchiverIntegration Time elapsed: 2.128 s <<< ERROR!
java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.yaml.snakeyaml.constructor.ConstructorException:
Cannot create property=beforeStop for JavaBean=org.arquillian.cube.docker.impl.client.config.CubeContainer@2adddc06
in 'string', line 1, column 1:
image: stamina-eap:7.1.4
^
Cannot create property=to for JavaBean=org.arquillian.cube.docker.impl.client.config.BeforeStop@65327f5
in 'string', line 6, column 3:
- {log: null, to: container.log, s ...
^
Unable to find property 'to' on class: org.arquillian.cube.docker.impl.client.config.BeforeStop
in 'string', line 6, column 19:
- {log: null, to: container.log, stdout: true, std ...
^
in 'string', line 6, column 1:
- {log: null, to: container.log, ...
^
Caused by: org.yaml.snakeyaml.constructor.ConstructorException:
Cannot create property=to for JavaBean=org.arquillian.cube.docker.impl.client.config.BeforeStop@65327f5
in 'string', line 6, column 3:
- {log: null, to: container.log, s ...
^
Unable to find property 'to' on class: org.arquillian.cube.docker.impl.client.config.BeforeStop
in 'string', line 6, column 19:
- {log: null, to: container.log, stdout: true, std ...
^
Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'to' on class: org.arquillian.cube.docker.impl.client.config.BeforeStop
Issue Overview
When adding
beforeStop:
with- log:
definition, as described in the Arquillian Cube documentation (http://arquillian.org/arquillian-cube/#_before_stop_events), the integration test fails.Expected Behaviour
Docker container log should be output to the (local environment) file configured in the beforeStop section
Current Behaviour
Test fails issuing the following error:
Steps To Reproduce
mvn clean verify
Additional Information