Skip to content

Commit d4b9ca8

Browse files
author
Matthew Fisher
committed
ref(tests): switch to example-dockerfile-http app
This application's final image size is significantly smaller than example-go's, which should dramatically increase integration test times: REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE 10.132.162.4:5000/example-go v2 363636be7289 3 minutes ago 957.1 MB 10.132.162.4:5000/example-dockerfile-http v2 6b7c19477ae5 49 minutes ago 2.433 MB
1 parent 759a2d6 commit d4b9ca8

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/contributing/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test-integration.sh
9696
>>> Preparing test environment <<<
9797
9898
DEIS_ROOT=/Users/matt/Projects/src/github.com/deis/deis
99-
DEIS_TEST_APP=example-go
99+
DEIS_TEST_APP=example-dockerfile-http
100100
...
101101
>>> Running integration suite <<<
102102

tests/bin/test-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "DEIS_ROOT=$DEIS_ROOT"
1818
export PATH=${GOPATH}/bin:$PATH
1919

2020
# the application under test
21-
export DEIS_TEST_APP=${DEIS_TEST_APP:-example-go}
21+
export DEIS_TEST_APP=${DEIS_TEST_APP:-example-dockerfile-http}
2222
echo "DEIS_TEST_APP=$DEIS_TEST_APP"
2323

2424
# SSH key name used for testing

tests/utils/itutils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ func GetRandomApp() string {
312312
"example-python-flask",
313313
"example-ruby-sinatra",
314314
"example-scala",
315+
"example-dockerfile-http",
315316
}
316317
return apps[rand.Intn(len(apps))]
317318
}

0 commit comments

Comments
 (0)