Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Jul 31, 2024
1 parent c11eba9 commit 909688a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/streams/constants/TestConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
*/
package io.streams.constants;

import io.streams.Environment;

import java.nio.file.Path;
import java.nio.file.Paths;

public interface TestConstants {
String LOG_COLLECT_LABEL = "streams-e2e";
Path YAML_MANIFEST_PATH = Paths.get(Environment.USER_PATH, "operator-install-files");
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@
import io.skodjob.testframe.TestFrameConstants;
import io.skodjob.testframe.resources.KubeResourceManager;
import io.skodjob.testframe.wait.Wait;
import io.streams.Environment;
import io.streams.constants.TestConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
Expand All @@ -39,8 +38,8 @@
public class StrimziManifestInstaller {

private static final Logger LOGGER = LoggerFactory.getLogger(StrimziManifestInstaller.class);
private static Path filesDir = Paths.get(Environment.USER_PATH, "operator-install-files",
"strimzi-kafka-operator", "install", "cluster-operator");
private static Path filesDir = TestConstants.YAML_MANIFEST_PATH.resolve("strimzi-kafka-operator").resolve(
"install").resolve("cluster-operator");

/**
* Deployment name for strimzi operator
Expand Down

0 comments on commit 909688a

Please sign in to comment.