Skip to content

Commit

Permalink
Docker launcher
Browse files Browse the repository at this point in the history
Fixes #4.
  • Loading branch information
penberg authored and Henrik Johansson committed Mar 7, 2019
1 parent 6b62ff1 commit 77c9541
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

ORACLE_NAME=gemini-oracle
TEST_NAME=gemini-test

docker run --name $ORACLE_NAME -d cassandra:3.11.3
docker run --name $TEST_NAME -d scylladb/scylla:3.0.2 --smp 1 --memory 128M

sleep 30

GEMINI_CMD=cmd/gemini/gemini

$GEMINI_CMD \
--max-tests=100000000 \
--fail-fast \
--test-cluster=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' $TEST_NAME) \
--oracle-cluster=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' $ORACLE_NAME)

0 comments on commit 77c9541

Please sign in to comment.