Skip to content

Commit

Permalink
fix: increase timeout for gcs download test
Browse files Browse the repository at this point in the history
This test is crazy slow in CI lately, taking upwards of 50 seconds.  It runs
quickly locally, so I'm imagining this is some network change in gcp.

We need a build now, and the test passes in both locations, so I'm just
upping the timeout and crossing my fingers.

Authored-by: Steve Taylor <sttaylor@vmware.com>
  • Loading branch information
staylor14 committed Apr 17, 2024
1 parent 702bca3 commit b7c85c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acceptance/download_product_gcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var _ = Describe("download-product command", func() {

session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
Expect(err).ToNot(HaveOccurred())
Eventually(session, "10s").Should(gexec.Exit(0))
Eventually(session, "2m").Should(gexec.Exit(0))
Expect(session.Err).To(gbytes.Say(`attempting to download the file.*example-product.pivotal.*from source google`))
Expect(session.Err).To(gbytes.Say(`attempting to download the file.*light-bosh-stemcell-97.57-google-kvm-ubuntu-xenial-go_agent.tgz.*from source google`))
Expect(session.Err).To(gbytes.Say(`Writing a list of downloaded artifact to download-file.json`))
Expand Down Expand Up @@ -116,7 +116,7 @@ var _ = Describe("download-product command", func() {

session, err = gexec.Start(command, GinkgoWriter, GinkgoWriter)
Expect(err).ToNot(HaveOccurred())
Eventually(session, "10s").Should(gexec.Exit(0))
Eventually(session, "2m").Should(gexec.Exit(0))
Expect(string(session.Err.Contents())).To(ContainSubstring("[pivnet-example-slug,1.10.1]example-product.pivotal already exists, skip downloading"))
Expect(string(session.Err.Contents())).To(ContainSubstring("[stemcells-ubuntu-xenial,97.57]light-bosh-stemcell-97.57-google-kvm-ubuntu-xenial-go_agent.tgz already exists, skip downloading"))

Expand Down

0 comments on commit b7c85c3

Please sign in to comment.