@@ -67,8 +67,10 @@ public void testDescribeWithKRaft(ClusterInstance cluster) {
67
67
"SupportedMaxVersion: 4.2-IV0\t FinalizedVersionLevel: 3.3-IV3\t " , outputWithoutEpoch (features .get (3 )));
68
68
assertEquals ("Feature: share.version\t SupportedMinVersion: 0\t " +
69
69
"SupportedMaxVersion: 1\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (4 )));
70
+ assertEquals ("Feature: streams.group.version\t SupportedMinVersion: 0\t " +
71
+ "SupportedMaxVersion: 1\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (5 )));
70
72
assertEquals ("Feature: transaction.version\t SupportedMinVersion: 0\t " +
71
- "SupportedMaxVersion: 2\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (5 )));
73
+ "SupportedMaxVersion: 2\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (6 )));
72
74
}
73
75
74
76
// Use the first MetadataVersion that supports KIP-919
@@ -91,8 +93,10 @@ public void testDescribeWithKRaftAndBootstrapControllers(ClusterInstance cluster
91
93
"SupportedMaxVersion: 4.2-IV0\t FinalizedVersionLevel: 3.7-IV0\t " , outputWithoutEpoch (features .get (3 )));
92
94
assertEquals ("Feature: share.version\t SupportedMinVersion: 0\t " +
93
95
"SupportedMaxVersion: 1\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (4 )));
96
+ assertEquals ("Feature: streams.group.version\t SupportedMinVersion: 0\t " +
97
+ "SupportedMaxVersion: 1\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (5 )));
94
98
assertEquals ("Feature: transaction.version\t SupportedMinVersion: 0\t " +
95
- "SupportedMaxVersion: 2\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (5 )));
99
+ "SupportedMaxVersion: 2\t FinalizedVersionLevel: 0\t " , outputWithoutEpoch (features .get (6 )));
96
100
}
97
101
98
102
@ ClusterTest (types = {Type .KRAFT }, metadataVersion = MetadataVersion .IBP_3_3_IV3 )
@@ -118,7 +122,7 @@ public void testDowngradeMetadataVersionWithKRaft(ClusterInstance cluster) {
118
122
);
119
123
// Change expected message to reflect possible MetadataVersion range 1-N (N increases when adding a new version)
120
124
assertEquals ("Could not disable metadata.version. The update failed for all features since the following " +
121
- "feature had an error: Invalid update version 0 for feature metadata.version. Local controller 3000 only supports versions 7-28 " , commandOutput );
125
+ "feature had an error: Invalid update version 0 for feature metadata.version. Local controller 3000 only supports versions 7-29 " , commandOutput );
122
126
123
127
commandOutput = ToolsTestUtils .captureStandardOut (() ->
124
128
assertEquals (1 , FeatureCommand .mainNoExit ("--bootstrap-server" , cluster .bootstrapServers (),
@@ -182,6 +186,7 @@ public void testDowngradeWithReleaseVersion(ClusterInstance cluster) {
182
186
"kraft.version was downgraded to 0.\n " +
183
187
"metadata.version was downgraded to 18.\n " +
184
188
"share.version was downgraded to 0.\n " +
189
+ "streams.group.version was downgraded to 0.\n " +
185
190
"transaction.version was downgraded to 0." , commandOutput );
186
191
}
187
192
0 commit comments