Skip to content

Commit 1d9314b

Browse files
committed
Fix command test
1 parent 4233935 commit 1d9314b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbitmq_stream/test/commands_SUITE.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ list_group_consumers_run(Config) ->
491491
{ok, Consumers1} =
492492
?COMMAND_LIST_GROUP_CONSUMERS:run(Args, OptsGroup1),
493493
?assertEqual([[{subscription_id, 0}, {state, active}],
494-
[{subscription_id, 1}, {state, inactive}],
495-
[{subscription_id, 2}, {state, inactive}]],
494+
[{subscription_id, 1}, {state, waiting}],
495+
[{subscription_id, 2}, {state, waiting}]],
496496
Consumers1),
497497

498498
Stream2 = <<"list_group_consumers_run_2">>,
@@ -511,8 +511,8 @@ list_group_consumers_run(Config) ->
511511
{ok, Consumers2} =
512512
?COMMAND_LIST_GROUP_CONSUMERS:run(Args, OptsGroup2),
513513
?assertEqual([[{subscription_id, 3}, {state, active}],
514-
[{subscription_id, 4}, {state, inactive}],
515-
[{subscription_id, 5}, {state, inactive}]],
514+
[{subscription_id, 4}, {state, waiting}],
515+
[{subscription_id, 5}, {state, waiting}]],
516516
Consumers2),
517517

518518
delete_stream(S, Stream1, C),

0 commit comments

Comments
 (0)