Pin crate docker image for testing

(cherry picked from commit 3cf0ba1ccf)
This commit is contained in:
Daniel Nelson 2018-01-08 18:48:17 -08:00
parent 4e89c17c0f
commit 0605af7c99
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 9 additions and 7 deletions

View File

@ -88,7 +88,7 @@ docker-run:
-d cobaugh/openldap-alpine -d cobaugh/openldap-alpine
docker run --name cratedb \ docker run --name cratedb \
-p "6543:5432" \ -p "6543:5432" \
-d crate crate \ -d crate:2.2 \
-Cnetwork.host=0.0.0.0 \ -Cnetwork.host=0.0.0.0 \
-Ctransport.host=localhost \ -Ctransport.host=localhost \
-Clicense.enterprise=false -Clicense.enterprise=false
@ -116,12 +116,6 @@ docker-run-circle:
-e SLAPD_CONFIG_ROOTPW="secret" \ -e SLAPD_CONFIG_ROOTPW="secret" \
-p "389:389" -p "636:636" \ -p "389:389" -p "636:636" \
-d cobaugh/openldap-alpine -d cobaugh/openldap-alpine
docker run --name cratedb \
-p "6543:5432" \
-d crate crate \
-Cnetwork.host=0.0.0.0 \
-Ctransport.host=localhost \
-Clicense.enterprise=false
docker-kill: docker-kill:
-docker kill aerospike elasticsearch kafka memcached mqtt mysql nats nsq \ -docker kill aerospike elasticsearch kafka memcached mqtt mysql nats nsq \

View File

@ -19,6 +19,10 @@ func TestConnectAndWrite(t *testing.T) {
t.Skip("Skipping integration test in short mode") t.Skip("Skipping integration test in short mode")
} }
if os.Getenv("CIRCLE_PROJECT_REPONAME") != "" {
t.Skip("Skipping test on CircleCI due to docker failures")
}
url := testURL() url := testURL()
table := "test" table := "test"
@ -95,6 +99,10 @@ func Test_escapeValue(t *testing.T) {
t.Skip("Skipping integration test in short mode") t.Skip("Skipping integration test in short mode")
} }
if os.Getenv("CIRCLE_PROJECT_REPONAME") != "" {
t.Skip("Skipping test on CircleCI due to docker failures")
}
tests := []struct { tests := []struct {
Val interface{} Val interface{}
Want string Want string