Commit c47da03
committed
Update ConsumerNameResolverTest for the sanitized name format
Yesterday's commit fdcb69b changed the default consumer-name format
from "rqueue-<queue>-<bean>#<method>" to "rqueue-<queue>-<bean>_<method>"
with non [A-Za-z0-9_-] characters collapsed to '_'. The existing tests
still asserted the old '#' separator and broke unit_test on CI.
Updates the two existing assertions and adds a new test that exercises
the sanitization explicitly with a nested-class bean name (carries '$').
Assisted-By: Claude Code1 parent 656e87e commit c47da03
1 file changed
Lines changed: 15 additions & 2 deletions
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
0 commit comments