start adding some basic integration tests

This commit is contained in:
Cory Bennett
2016-08-03 00:13:53 -07:00
parent 0c807b45fe
commit 403a362c5c
7 changed files with 242 additions and 0 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
eval "$(curl -q -s https://raw.githubusercontent.com/coryb/osht/master/osht.sh)"
cd $(dirname $0)
jira=../jira
PLAN 4
RUNS sh -c "docker rm -f go-jira-test || true"
RUNS docker run --detach --name go-jira-test --publish 8080:8080 go-jira-test:latest
RUNS sleep 10
RUNS curl -q -L --retry 60 --retry-delay 1 -f -s "http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=1"