@@ -67,9 +67,6 @@ describe('Admin > describeGroups', () => {
67
67
} ) ;
68
68
69
69
it ( 'should describe consumer groups' , async ( ) => {
70
- if ( testConsumerGroupProtocolClassic ( ) ) {
71
- return ;
72
- }
73
70
let messagesConsumed = 0 ;
74
71
75
72
await consumer . connect ( ) ;
@@ -90,7 +87,7 @@ describe('Admin > describeGroups', () => {
90
87
isSimpleConsumerGroup : false ,
91
88
protocolType : 'consumer' ,
92
89
state : ConsumerGroupStates . STABLE ,
93
- type : ConsumerGroupTypes . CLASSIC ,
90
+ type : testConsumerGroupProtocolClassic ( ) ? ConsumerGroupTypes . CLASSIC : ConsumerGroupTypes . CONSUMER ,
94
91
coordinator : expect . objectContaining ( {
95
92
id : expect . any ( Number ) ,
96
93
host : expect . any ( String ) ,
@@ -142,7 +139,7 @@ describe('Admin > describeGroups', () => {
142
139
protocol : expect . any ( String ) ,
143
140
partitionAssignor : expect . any ( String ) ,
144
141
state : ConsumerGroupStates . EMPTY ,
145
- type : ConsumerGroupTypes . CLASSIC ,
142
+ type : testConsumerGroupProtocolClassic ( ) ? ConsumerGroupTypes . CLASSIC : ConsumerGroupTypes . CONSUMER ,
146
143
protocolType : 'consumer' ,
147
144
isSimpleConsumerGroup : false ,
148
145
coordinator : expect . objectContaining ( {
0 commit comments