io.apicurio.registry.utils.tests.KafkasqlTestProfile Maven / Gradle / Ivy
package io.apicurio.registry.utils.tests;
import io.quarkus.test.junit.QuarkusTestProfile;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class KafkasqlTestProfile implements QuarkusTestProfile {
@Override
public Map getConfigOverrides() {
return Collections.singletonMap("apicurio.storage.kind", "kafkasql");
}
@Override
public List testResources() {
if (!Boolean.parseBoolean(System.getProperty("cluster.tests"))) {
return List.of(new TestResourceEntry(KafkaTestContainerManager.class));
} else {
return Collections.emptyList();
}
}
}