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
The `PostgresChannelMessageTableSubscriberTests.testUnsubscribeHandlerDuringDispatch()` is not stable
* Fix the test to use less stress on unsubscription.
It is still hard to reach consensus with a fast reader which is able to take a lock again and again in its loop.
* Use `fair` for `ReentrantReadWriteLock` in the `PostgresSubscribableChannel`.
However, it still doesn't show entropy in the test execution
* Fix typos in the `PostgresChannelMessageTableSubscriber`
* Add logging for the `inStoreCount` & `receivedCount` in the `testUnsubscribeHandlerDuringDispatch()`
**Auto-cherry-pick to `6.4.x`**
# Conflicts:
# spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/postgres/PostgresChannelMessageTableSubscriberTests.java
Copy file name to clipboardExpand all lines: spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/channel/PostgresChannelMessageTableSubscriber.java
Copy file name to clipboardExpand all lines: spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/channel/PostgresSubscribableChannel.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ public class PostgresSubscribableChannel extends AbstractSubscribableChannel
Copy file name to clipboardExpand all lines: spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/postgres/PostgresChannelMessageTableSubscriberTests.java
0 commit comments