Skip to content

Instantly share code, notes, and snippets.

@rpau
Created March 15, 2018 16:44
Show Gist options
  • Select an option

  • Save rpau/501cf66020a5738e66f1775782424a8a to your computer and use it in GitHub Desktop.

Select an option

Save rpau/501cf66020a5738e66f1775782424a8a to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://jboss.org/schema/arquillian"
xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<!-- We have to bind the docker hostname and port, otherwise RMI will choose a random port, which we can't forward to the docker host.
RMI is a difficult protocol to configure :(. -->
<extension qualifier="docker">
<property name="serverUri">unix:///var/run/docker.sock</property>
<property name="tlsVerify">false</property>
<property name="dockerContainers">
postgres*:
image: postgres:9.6.2-alpine
ports:
- "5432"
environment:
- "POSTGRES_USER=postgres"
- "POSTGRES_PASSWORD=123"
- "POSTGRES_DB=root"
dynamo*:
image: peopleperhour/dynamodb
ports:
- "8000"
</property>
<property name="cubeSpecificProperties">
postgres*:
await:
strategy: log
match: 'LOG: autovacuum launcher started'
occurrences: 2
</property>
</extension>
</arquillian>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment