@@ -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