Skip to content

Commit 0a40073

Browse files
authored
Fix FileTailingMessageProducerTests.testOS for MacOS
Signed-off-by: Jiandong Ma <jiandong.ma.cn@gmail.com>
1 parent 301b622 commit 0a40073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-integration-file/src/test/java/org/springframework/integration/file/tail/FileTailingMessageProducerTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -87,6 +87,7 @@ public void tearDown() {
8787
public void testOS() throws Exception {
8888
OSDelegatingFileTailingMessageProducer adapter = new OSDelegatingFileTailingMessageProducer();
8989
adapter.setOptions(TAIL_OPTIONS_FOLLOW_NAME_ALL_LINES);
90+
adapter.setIdleEventInterval(1000);
9091
testGuts(adapter, "stdOutReader");
9192
}
9293

0 commit comments

Comments
 (0)