shunping commented on code in PR #33743:
URL: https://github.com/apache/beam/pull/33743#discussion_r1927625336
##########
sdks/java/container/boot.go:
##########
@@ -262,6 +274,10 @@ func main() {
args = append(args, "org.apache.beam.fn.harness.FnHarness")
logger.Printf(ctx, "Executing: java %v", strings.Join(args, " "))
+ // Give the agent some time to do a final scan and retrieve logs
+ logger.Printf(ctx, "Take a 15-second break ...")
+ time.Sleep(15 * time.Second)
Review Comment:
I tried and it also works if I put the sleep inside logger.Fatalf. PTAL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]