Skip to content

Commit 8a637c6

Browse files
committed
Merge pull request #114 from arschles/int-test
fix(_tests): help setup testing environment
2 parents 872a250 + 6cd604d commit 8a637c6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ controller/.secret_key
2020

2121
# local binaries, installers, and artifacts
2222
client/deis
23+
client/client
2324
client/deis.exe
2425
client/*.run
2526
client/makeself/

_tests/tests_suite_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ var (
3232
)
3333

3434
var _ = BeforeSuite(func() {
35-
// TODO: require ../client/deis as the `deis` binary
35+
workflowHost := os.Getenv("DEIS_WORKFLOW_SERVICE_HOST")
36+
workflowPort := os.Getenv("DEIS_WORKFLOW_SERVICE_HOST")
37+
Expect(workflowHost).ShouldNot(BeEmpty())
38+
Expect(workflowPort).ShouldNot(BeEmpty())
39+
Expect("../client/deis").Should(BeAnExistingFile())
3640

3741
// register the test-admin user
3842
register(url, testAdminUser, testAdminPassword, testAdminEmail)

0 commit comments

Comments
 (0)