Aurélien Pupier created CAMEL-27540:
---------------------------------------
Summary: Fix flaky test SftpProducerStopDuringHungUploadIT
Key: CAMEL-27540
URL: https://issues.apache.org/jira/browse/CAMEL-27540
Project: Camel
Issue Type: Test
Components: camel-sftp
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
test was added on the 14th November and[ 3 of the tests are flaky 2% of the
time|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.file.remote.sftp.integration.SftpProducerStopDuringHungUploadIT]
stopOutsideForcedShutdownWaitsForUpload
stopDoesNotWaitForUploadBlockedWritingToHalfOpenConnection
gracefulStopWaitsForUploadOfRouteWhoseConsumerStopsRightAway
{noformat}
java.lang.IllegalStateException: Executor has been shut down
at
org.apache.sshd.common.util.ValidateUtils.createFormattedException(ValidateUtils.java:234)
at
org.apache.sshd.common.util.ValidateUtils.throwIllegalStateException(ValidateUtils.java:228)
at
org.apache.sshd.common.util.ValidateUtils.checkState(ValidateUtils.java:205)
at
org.apache.sshd.common.util.threads.NoCloseExecutor.execute(NoCloseExecutor.java:100)
at
sun.nio.ch.AsynchronousChannelGroupImpl.executeOnPooledThread(AsynchronousChannelGroupImpl.java:178)
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:195)
at
sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:443)
at
sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:195)
at
sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:217)
at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:305)
at java.lang.Thread.run(Thread.java:1474)
at jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:148)
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)