use of io.strimzi.api.kafka.model.KafkaClusterSpecBuilder in project strimzi-kafka-operator by strimzi.
the class KRaftUtilsTest method testJbodStorageWithOneDisk.
@ParallelTest
public void testJbodStorageWithOneDisk() {
Set<String> errors = new HashSet<>(0);
KafkaClusterSpec kcs = new KafkaClusterSpecBuilder().withNewJbodStorage().withVolumes(new PersistentClaimStorageBuilder().withId(0).withSize("100Gi").build()).endJbodStorage().build();
KRaftUtils.validateKafkaSpec(errors, kcs);
assertThat(errors, is(Set.of()));
}
Aggregations