Skip to content

Commit

Permalink
[system test] - fix testJbodMetadataLogRelocation for >= 3.7.0 Kafka … (
Browse files Browse the repository at this point in the history
#10093)

Signed-off-by: see-quick <[email protected]>
  • Loading branch information
see-quick authored May 10, 2024
1 parent 82be6a7 commit ec8fc81
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,10 @@ void testAddingAndRemovingJbodVolumes() {
*/
@ParallelNamespaceTest
void testJbodMetadataLogRelocation() {
assumeTrue(Environment.isKRaftModeEnabled());
// JBOD storage in KRaft is supported only from Kafka 3.7.0 and higher.
// So we want to run this test when KRaft is disabled or when it is with KRaft and Kafka 3.7.0+
// TODO: remove once support for 3.6.x is removed - https://github.com/strimzi/strimzi-kafka-operator/issues/9921
assumeTrue(Environment.isKRaftModeEnabled() && TestKafkaVersion.compareDottedVersions(Environment.ST_KAFKA_VERSION, "3.7.0") >= 0);

final TestStorage testStorage = new TestStorage(ResourceManager.getTestContext());
final int numberOfKafkaReplicas = 3;
Expand Down

0 comments on commit ec8fc81

Please sign in to comment.