-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HelmServiceDependencyUpdateIT is failing on windows #3121
Comments
Hello, Sorry I didn't test this on windows while adding this test in #3098 Here are some code pointers to fix the test failures:
Here is the code that takes output of jkube/jkube-kit/helm/src/main/java/org/eclipse/jkube/kit/resource/helm/HelmService.java Lines 186 to 189 in 6f644f8
Test should pass when we update above mentioned code like this: String dependencyUpdateCommandOutput = dependencyUpdateCommand.call();
String lineDelimiter = System.lineSeparator();
if (!dependencyUpdateCommandOutput.contains(System.lineSeparator())) {
lineDelimiter = "\n";
}
Arrays.stream(dependencyUpdateCommandOutput
.split(lineDelimiter))
.forEach(l -> logger.info("[[W]]%s", l)); |
Have we tried this: Arrays.stream(dependencyUpdateCommand.call()
.split("\r?\n")
.forEach(l -> logger.info("[[W]]%s", l));
} |
Yeah, this is better. |
Yeah, that part is okey but I'm encounering another issue. [ERROR] Failures: The part of the test that causes the problem is this: @test Is this test required because I can't see such part in the HelmService.dependencyUpdate()? |
@Sintivrousai see my comment #3121 (comment) . You can configure test to be run only in linux by adding
|
oh i'm sorry i didn't see it |
Signed-off-by: SintiVrousai <[email protected]>
Part of #1338
HelmServiceDependencyUpdateIT is failing on windows.
[ERROR] Failures:
[ERROR] HelmServiceDependencyUpdateIT$ValidChart.whenConfigurationOptionsProvided_thenDependencyDownloaded:97->verifyHelmDependencyDownloaded:113
Argument(s) are different! Wanted:
Can I work on that?
The text was updated successfully, but these errors were encountered: