File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141)
4242
4343var _ = BeforeSuite (func () {
44- workflowHost := os .Getenv ("DEIS_WORKFLOW_SERVICE_HOST" )
45- Expect (workflowHost ).ShouldNot (BeEmpty ())
4644 // use the "deis" executable in the search $PATH
4745 _ , err := exec .LookPath ("deis" )
4846 Expect (err ).NotTo (HaveOccurred ())
@@ -131,11 +129,13 @@ func addKey(name string) {
131129}
132130
133131func getController () string {
134- host := os .Getenv ("DEIS_WORKFLOW_SERVICE_HOST " )
132+ host := os .Getenv ("DEIS_HOST " )
135133 if host == "" {
136- panic ("DEIS_WORKFLOW_SERVICE_HOST isn't set" )
134+ panic (`Set DEIS_HOST to the workflow controller hostname for tests, such as:
135+
136+ $ DEIS_HOST=deis.10.245.1.3.xip.io make test-integration` )
137137 }
138- port := os .Getenv ("DEIS_WORKFLOW_SERVICE_PORT " )
138+ port := os .Getenv ("DEIS_PORT " )
139139 switch port {
140140 case "443" :
141141 return "https://" + host
You can’t perform that action at this time.
0 commit comments