Skip to content

Commit 6e3fab4

Browse files
committed
Expect apt groups
1 parent b9228ed commit 6e3fab4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/promisified/admin/list_groups.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
jest.setTimeout(30000);
22

33
const {
4+
testConsumerGroupProtocolClassic,
45
createConsumer,
56
secureRandom,
67
createTopic,
@@ -78,7 +79,7 @@ describe('Admin > listGroups', () => {
7879
isSimpleConsumerGroup: false,
7980
protocolType: 'consumer',
8081
state: ConsumerGroupStates.EMPTY,
81-
type: ConsumerGroupTypes.CLASSIC,
82+
type: testConsumerGroupProtocolClassic() ? ConsumerGroupTypes.CLASSIC : ConsumerGroupTypes.CONSUMER,
8283
}),
8384
])
8485
);

0 commit comments

Comments
 (0)