Commit f88e3d8
committed
fix: resolve RqueueListenerAutoConfigTest transport configuration conflict
The test was configuring both redisConnectionFactory and a non-Redis MessageBroker,
which violates the validation in SimpleRqueueListenerContainerFactory that ensures
exactly one transport is configured. Fixed by setting the messageBroker directly
instead of the Redis connection factory when testing with a non-Redis broker.
Assisted-By: Claude Code1 parent 86df352 commit f88e3d8
2 files changed
Lines changed: 4 additions & 1 deletion
File tree
- rqueue-core/src/test/java/com/github/sonus21/rqueue/core/impl
- rqueue-spring-boot-starter/src/test/java/com/github/sonus21/rqueue/spring/boot/tests/unit
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments