You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://build.spring.io/browse/INT-FATS5IC-685/
Even if we stop `SourcePollingChannelAdapter`, the task on the fly is
still going to be executed.
This way we may have extra calls to our logic.
* Use `CopyOnWriteArrayList` for the `sessionSources` to avoid
`ConcurrentModificationException` during this collection read in the
tests
**Cherry-pick to 5.0.x**
(cherry picked from commit 76c6700)
Copy file name to clipboardExpand all lines: spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/RotatingServersTests.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
importjava.io.File;
23
23
importjava.util.ArrayList;
24
24
importjava.util.List;
25
+
importjava.util.concurrent.CopyOnWriteArrayList;
25
26
importjava.util.concurrent.CountDownLatch;
26
27
importjava.util.concurrent.TimeUnit;
27
28
importjava.util.stream.Collectors;
@@ -168,7 +169,7 @@ public static class StandardConfig {
0 commit comments