Skip to content

Commit f7e33a5

Browse files
committed
test enabled
1 parent 0b05c1b commit f7e33a5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/promisified/admin/describe_groups.spec.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ describe('Admin > describeGroups', () => {
6767
});
6868

6969
it('should describe consumer groups', async () => {
70-
if (testConsumerGroupProtocolClassic()) {
71-
return ;
72-
}
7370
let messagesConsumed = 0;
7471

7572
await consumer.connect();
@@ -90,7 +87,7 @@ describe('Admin > describeGroups', () => {
9087
isSimpleConsumerGroup: false,
9188
protocolType: 'consumer',
9289
state: ConsumerGroupStates.STABLE,
93-
type: ConsumerGroupTypes.CLASSIC,
90+
type: testConsumerGroupProtocolClassic() ? ConsumerGroupTypes.CLASSIC : ConsumerGroupTypes.CONSUMER,
9491
coordinator: expect.objectContaining({
9592
id: expect.any(Number),
9693
host: expect.any(String),
@@ -142,7 +139,7 @@ describe('Admin > describeGroups', () => {
142139
protocol: expect.any(String),
143140
partitionAssignor: expect.any(String),
144141
state: ConsumerGroupStates.EMPTY,
145-
type: ConsumerGroupTypes.CLASSIC,
142+
type: testConsumerGroupProtocolClassic() ? ConsumerGroupTypes.CLASSIC : ConsumerGroupTypes.CONSUMER,
146143
protocolType: 'consumer',
147144
isSimpleConsumerGroup: false,
148145
coordinator: expect.objectContaining({

0 commit comments

Comments
 (0)