Yicong-Huang opened a new pull request, #4947:
URL: https://github.com/apache/texera/pull/4947

   ### What changes were proposed in this PR?
   
   Add a `warmupOnce()` step to `ReconfigurationIntegrationSpec.beforeAll` that 
runs a trivial pure-Scala `TextInputSourceOpDesc` workflow before the timed 
test cases. This pays the JVM JIT + class-loading + akka first-touch bill 
before the first `Await.result(client.controllerInterface.startWorkflow(...), 
5.seconds)` runs in `TestUtils.shouldReconfigure`, which is where the suite has 
been intermittently timing out.
   
   The warmup is pure Scala (no Python), hard-capped at 10 seconds, and 
defensively wrapped: any exception is logged and swallowed, `client.shutdown()` 
and `cleanupWorkflowExecutionData()` always run, so warmup itself can never 
hang the suite. The existing `Retries` mixin still backs up individual test 
cases.
   
   ### Any related issues, documentation, discussions?
   
   Refs #4946.
   
   ### How was this PR tested?
   
   `sbt WorkflowExecutionService/Test/compile` clean; `sbt 
WorkflowExecutionService/scalafmtCheckAll` clean. CI `amber-integration` job is 
the real test surface.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.7 (Claude Code)


-- 
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]

Reply via email to