Skip to content

Commit b0ae5ee

Browse files
committed
acceptance_test: print timeout used in specs
1 parent 4472a9a commit b0ae5ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

acceptance_test/main_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ var _ = Describe("BOSH Windows", func() {
141141
Expect(err).NotTo(HaveOccurred())
142142
})
143143

144-
It("is fully updated", func() { // 860s
144+
It("is fully updated", func() {
145145
err := boshCommand.RunErrand("check-updates", deploymentName)
146146
Expect(err).NotTo(HaveOccurred())
147147
})
@@ -289,12 +289,13 @@ func newBoshCommand(config *TestConfig) *BoshCommand {
289289
var err error
290290
if s := os.Getenv("BWATS_BOSH_TIMEOUT"); s != "" {
291291
timeout, err = time.ParseDuration(s)
292-
GinkgoWriter.Printf("Using BWATS_BOSH_TIMEOUT (%s) as timeout\n", s)
292+
By(fmt.Sprintf("Found BWATS_BOSH_TIMEOUT: '%s'", s))
293293

294294
if err != nil {
295295
GinkgoWriter.Printf("Error parsing BWATS_BOSH_TIMEOUT (%s): %s - falling back to default\n", s, err)
296296
}
297297
}
298+
By(fmt.Sprintf("Setting BoshCommand.Timeout = '%s'", timeout))
298299

299300
return &BoshCommand{
300301
DirectorIP: config.Bosh.Target,

0 commit comments

Comments
 (0)