jvrubel commented on PR #29083:
URL: https://github.com/apache/camel/pull/29083#issuecomment-7099880426

   Since the last update, we addressed the issues that prevented CmdChaosITCase 
and InfraAdvancedITCase from running correctly:
   CmdChaosITCase
    - testCmdChaosChangeAndRemove now extracts the rule ID dynamically from the 
chaos-add output using a regex ("Added chaos
    rule (r\d+)") instead of assuming a fixed ID, so it works regardless of how 
many rules have been created.
    
    InfraAdvancedITCase
    - testInfraLog passes --follow=false to prevent the command from blocking 
the test indefinitely.
    - testInfraRestart calls infra restart --background; without that flag, 
InfraRun blocks waiting for the old process to stop.
    - PID extraction now uses StringHelper.afterLast("PID:", …) so that restart 
output — which prints both the stopping PID and the new PID — is parsed 
correctly.
   - The class is tagged @Tag("container-only") and disabled on CI via 
@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*") because 
starting a real FTP service is too resource-heavy for the shared CI environment.
   
   Other fixes bundled in the same commit
    - InfraRun: background processes now discard stdout/stderr 
(ProcessBuilder.Redirect.DISCARD) to avoid pipe-buffer deadlocks.
    - JBangTestSupport.beforeEach: changed the DATA_FOLDER check from 
Assertions.assertThat to Assumptions.assumeThat so tests are skipped (not 
failed) when the env variable is absent.
   
   Tests included in this PR have been ran locally to verify that they pass.
   As for the bug, if you could file that report, it would be very kind of you, 
thanks.


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