Skip to content

Commit

Permalink
fix(routing): Resolve Zipkin Tracing flakes
Browse files Browse the repository at this point in the history
Increase readiness timeout to give the Spring Sleuth asset more time to
startup, we've seen this `cf push` result in frequent flake due to
readiness timeouts.
  • Loading branch information
ctlong committed Aug 9, 2023
1 parent 1e4678f commit ded5dc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routing/zipkin_tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ var _ = ZipkinDescribe("Zipkin Tracing", func() {

BeforeEach(func() {
appName = random_name.CATSRandomName("APP")
// On Aug 9, 2023, increased readiness timeout from default (1 min) to 2
// mins to try and avoid frequent flakes when pushing this app.
Expect(cf.Cf("push",
appName,
"-b", Config.GetJavaBuildpackName(),
"-m", "1024M",
"-p", assetPath,
"-t", "120",
).Wait(CF_JAVA_TIMEOUT)).To(gexec.Exit(0))
})

Expand Down

0 comments on commit ded5dc4

Please # to comment.