Commit 6dba54c
committed
Fix flake in test consume_from_replica
```
make -C deps/rabbit ct-rabbit_stream_queue t=cluster_size_3_parallel_1 RABBITMQ_METADATA_STORE=mnesia
```
flaked prior to this commit locally on Ubuntu with the following error after 11 runs:
```
rabbit_stream_queue_SUITE > cluster_size_3_parallel_1 > consume_from_replica
{error,
{{shutdown,
{server_initiated_close,406,
<<"PRECONDITION_FAILED - stream queue 'consume_from_replica' in vhost '/' does not have a running replica on the local node">>}},
{gen_server,call,
[<0.8365.0>,
{subscribe,
{'basic.consume',0,<<"consume_from_replica">>,
<<"ctag">>,false,false,false,false,
[{<<"x-stream-offset">>,long,0}]},
<0.8151.0>},
infinity]}}}
```
(cherry picked from commit 0ee5e74)
(cherry picked from commit b5e3e0a)1 parent 532bb8a commit 6dba54c
File tree
4 files changed
+13
-31
lines changed- deps/rabbit/test
4 files changed
+13
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6299 | 6299 | | |
6300 | 6300 | | |
6301 | 6301 | | |
6302 | | - | |
6303 | | - | |
6304 | | - | |
6305 | | - | |
| 6302 | + | |
6306 | 6303 | | |
6307 | 6304 | | |
6308 | 6305 | | |
6309 | | - | |
6310 | | - | |
6311 | | - | |
6312 | | - | |
6313 | | - | |
6314 | | - | |
6315 | | - | |
6316 | | - | |
6317 | | - | |
6318 | | - | |
6319 | | - | |
6320 | | - | |
6321 | | - | |
6322 | | - | |
6323 | 6306 | | |
6324 | 6307 | | |
6325 | 6308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 243 | + | |
248 | 244 | | |
249 | 245 | | |
250 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
| 1735 | + | |
1735 | 1736 | | |
1736 | 1737 | | |
1737 | 1738 | | |
| |||
0 commit comments