This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git
from 2f960676277 Upgrade Commons-compress to version 1.25.0 (#12015) add 940ad8bb22e Making use of junit5 @TempDir in TestSupport to control lifecycle of a temporary directory needed for testing. Removed deleteDirectory methods and their usage. Adapted test classes where needed, to propagate temp directory path to a spring or camel context, so it can be used in a file endpoint. add a4148675e30 Fix TestSupport code that resolved fileUri and fix ResourceLoaderTest add 1307b92fe6c Fix TestSupport fileUri method to use provided directory as root add 335c3c9f965 Increasing timeouts in FileConsumerFailureHandledTest as the test seems flaky add 20644e05dad Revert timeout values in FileConsumerFailureHandledTest, revert deleted methods and mark them as deprecated No new revisions were added by this update. Summary of changes: .../spring/SendMessageOnRouteStartAndStopTest.java | 15 ++++- .../org/apache/camel/spring/SpringTestSupport.java | 2 - .../camel/spring/StartAndStopEventNotifier.java | 4 +- .../file/SpringFileConsumerPreMoveIssueTest.java | 6 +- .../spring/file/SpringFileLanguageCBRTest.java | 13 ++-- .../camel/spring/file/SpringFileRouteTest.java | 24 ++++++- .../file/SpringSimpleFileNameWithQuoteTest.java | 26 +++++++- .../issues/FileWireTapWithXMLPayloadIssueTest.java | 12 ++-- ...ngPropertyPlaceholderFileEndpointIssueTest.java | 15 +++-- .../issues/SpringRenameFileOnCommitIssueTest.java | 13 ++-- ...uageWithSpringPropertyPlaceholderRouteTest.java | 24 ++++++- .../FileConsumerSpringSchedulerTest.java | 13 ++-- .../camel/spring/processor/SpringTestHelper.java | 10 ++- .../FileConsumerIdempotentLoadStoreTest.java | 1 - .../file/SpringFileConsumerPreMoveIssueTest.xml | 2 +- .../spring/file/SpringFileConsumerPreMoveTest.xml | 2 +- .../spring/file/SpringFileLanguageCBRTest.xml | 2 +- .../spring/file/SpringFileRouteTest-context.xml | 2 +- .../SpringSimpleFileNameWithQuoteTest-context.xml | 2 +- .../issues/FileWireTapWithXMLPayloadIssueTest.xml | 2 +- .../issues/SpringPropertyPlaceholderIssueTest.xml | 2 +- .../issues/SpringRenameFileOnCommitIssueTest.xml | 2 +- .../apache/camel/spring/issues/myprop.properties | 2 +- .../spring/placeholder/bundle-context.properties | 4 +- .../FileConsumerSpringSchedulerTest.xml | 2 +- .../processor/ShutdownCompleteAllTasksTest.xml | 2 +- .../ShutdownCompleteCurrentTaskOnlyTest.xml | 2 +- ...etterChannelUseOriginalExchangeWithFileTest.xml | 2 +- .../FileConsumerIdempotentLoadStoreTest.xml | 4 +- .../idempotent/fileConsumerIdempotentTest.xml | 4 +- .../test/java/org/apache/camel/TestSupport.java | 78 ++++++++++------------ .../file/FileConsumeMaxMessagesPerPollTest.java | 12 ++-- .../file/FileConsumeMoveRelativeNameTest.java | 6 +- .../file/FileConsumeMultipleDirectoriesTest.java | 12 ++-- .../FileConsumeNotEagerMaxMessagesPerPollTest.java | 14 ++-- ...ileConsumeSimpleAbsoluteMoveToAbsoluteTest.java | 10 +-- ...ileConsumeSimpleAbsoluteMoveToRelativeTest.java | 17 ++--- ...ileConsumeSimpleRelativeMoveToRelativeTest.java | 4 +- ...erDirectoryMustExistBridgeErrorHandlerTest.java | 4 +- .../file/FileConsumerExtendedAttributesTest.java | 22 +++--- .../component/file/FileConsumerFileFilterTest.java | 5 +- .../file/FileConsumerFileNameFilterTest.java | 4 +- .../component/file/FileConsumerFilterFileTest.java | 10 +-- ...rPreMoveCopyAndDeleteOnRenameFailFalseTest.java | 1 + .../file/FileConsumerPreMoveIssueTest.java | 13 ++-- .../file/FileConsumerPreMoveNoopTest.java | 8 +-- .../component/file/FileConsumerPreMoveTest.java | 10 ++- .../file/FileConsumerRelativeFileNameTest.java | 8 +-- .../file/FileConsumerSkipDotFilesTest.java | 9 +-- .../file/FileExclusiveReadLockCopyTest.java | 6 +- ...lTest.java => FileExclusiveReadManualTest.java} | 7 +- .../file/FileExclusiveReadNoneStrategyTest.java | 2 +- .../file/FileHeaderFileNameProducedTest.java | 4 +- .../file/FileIdempotentReadSameFileAgainTest.java | 6 +- .../file/FileProduceTempFileNameTest.java | 18 ++--- .../component/file/FileProduceTempPrefixTest.java | 10 +-- .../file/FileProducerCharsetUTFOptimizedTest.java | 6 -- .../file/FileProducerDirectoryChmodOptionTest.java | 13 ++-- .../component/file/FileRecursiveNoopTest.java | 2 - .../component/file/FileSplitXPathCharsetTest.java | 11 ++- .../component/file/FilerProducerAbsoluteTest.java | 3 +- .../FileLockClusteredRoutePolicyFactoryTest.java | 8 ++- .../cluster/FileLockClusteredRoutePolicyTest.java | 8 ++- ...ponentLoadPropertiesFromFileTrimValuesTest.java | 1 - .../seda/FileSedaShutdownCompleteAllTasksTest.java | 4 +- .../XsltIncludeClasspathDotInDirectoryTest.java | 3 +- .../component/xslt/XsltOutputFileDeleteTest.java | 2 - .../camel/component/xslt/XsltOutputFileTest.java | 2 - .../converter/stream/CachedOutputStreamTest.java | 2 +- .../apache/camel/impl/FileStateRepositoryTest.java | 8 ++- .../camel/processor/FileIdempotentClearTest.java | 2 +- .../FileIdempotentConsumerLoadStoreTest.java | 3 +- .../processor/FileIdempotentConsumerTest.java | 2 +- .../camel/processor/FileIdempotentRemoveTest.java | 3 +- .../processor/FileIdempotentTrunkStoreTest.java | 3 +- .../camel/processor/RouteFormattedUriTest.java | 2 +- .../processor/ShutdownCompleteAllTasksTest.java | 7 +- .../ShutdownCompleteCurrentTaskOnlyTest.java | 5 +- .../FileIdempotentStoreOrderingTest.java | 6 +- .../org/apache/camel/util/ResourceLoaderTest.java | 8 +-- .../management/ManagedFileIdempotentClearTest.java | 2 +- .../ManagedFileIdempotentConsumerTest.java | 2 +- .../management/ManagedRouteDumpStrategyTest.java | 1 - 83 files changed, 359 insertions(+), 276 deletions(-) rename core/camel-core/src/test/java/org/apache/camel/component/file/{FileExclusiveReadManuelTest.java => FileExclusiveReadManualTest.java} (90%)