Skip to content

Commit

Permalink
ci : don't wait twice for fly login to exit
Browse files Browse the repository at this point in the history
we were setting a timeout and interval in the eventually
but the `Wait()` uses the default 1sec timeout

Signed-off-by: Topher Bullock <cbullock@pivotal.io>
  • Loading branch information
Ciro S. Costa authored and Topher Bullock committed Nov 21, 2018
1 parent 37e1478 commit bfa7414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -41,7 +41,7 @@ services:
environment:
- CONCOURSE_LOG_LEVEL=debug
- CONCOURSE_TSA_HOST=web:2222
- CONCOURSE_EPHEMERAL=true
- CONCOURSE_EPHEMERAL=${CONCOURSE_EPHEMERAL:-true}

# avoid using loopbacks
- CONCOURSE_BAGGAGECLAIM_DRIVER=overlay
Expand Down
2 changes: 1 addition & 1 deletion topgun/fly.go
Expand Up @@ -32,7 +32,7 @@ func (f *Fly) Login(user, password, endpoint string) {
"-c", endpoint,
"-u", user,
"-p", password,
).Wait()
)
}, 2*time.Minute, 10*time.Second).
Should(gexec.Exit(0), "Fly should have been able to log in")
}
Expand Down

0 comments on commit bfa7414

Please sign in to comment.