TemplateProcessor - IndexOutOfBoundsException #998
I am unable to execute test using Arquillian, OpenShift with a particular setup.
When executing my tests I obtain this exception
Arquillian should setup to OpenShift a test environment and run my tests.
Steps To Reproduce
The code throwing the exception is located on the class openshift/openshift/src/main/java/org/arquillian/cube/openshift/impl/resources/TemplateProcessor.java
and concerns this method:
It failed at this line:
because processedResources is empty and resources contains a list of the unique DeploymentConfig so Collections.copy throw an IndexOutOfBoundsException.
I guess you should replace this code by processedResources.addAll(resources)
Set syncInstantiation defined to false
The text was updated successfully, but these errors were encountered: