Fix HelmIT
@@ -49,7 +49,6 @@ import org.hamcrest.core.IsEqual;
import org.hamcrest.core.StringContains;
import org.hamcrest.text.StringContainsInOrder;
import org.junit.jupiter.api.AfterEach;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.io.TempDir;
@@ -68,7 +67,6 @@ import org.testcontainers.containers.GenericContainer;
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
@EnabledOnOs({OS.LINUX, OS.MAC})
-@Disabled
final class HelmITCase {
/**
@@ -119,7 +117,11 @@ final class HelmITCase {
con.getResponseCode(),
new IsEqual<>(Integer.parseInt(RsStatus.OK.code()))
);
- this.cntn.execStdout("helm", "init", "--client-only");
+ this.cntn.execStdout(
+ "helm", "init",
+ "--stable-repo-url", this.url.string(anonymous),
+ "--client-only"
+ );
MatcherAssert.assertThat(
"Chart repository was added",
this.helmRepoAdd(anonymous, chartrepo),
