Aurélien Pupier created CAMEL-25343:
---------------------------------------
Summary: Fix flaky test
SshIdleTimeoutTest.testIdleTimeoutExpiresBeforeCommandCompletes
Key: CAMEL-25343
URL: https://issues.apache.org/jira/browse/CAMEL-25343
Project: Camel
Issue Type: Test
Components: camel-ssh
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
[failed 2 times and flaky 7 times in last 90
days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.ssh.SshIdleTimeoutTest&tests.test=testIdleTimeoutExpiresBeforeCommandCompletes]
it is failing a lot more when the full build is launched with -T1C
{noformat}
org.opentest4j.AssertionFailedError: Exit value should be null because the
session was closed by idle timeout before the command completed ==> expected:
<null> but was: <0>
at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:317)
at
org.apache.camel.component.ssh.SshIdleTimeoutTest.testIdleTimeoutExpiresBeforeCommandCompletes(SshIdleTimeoutTest.java:133)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)