-
Notifications
You must be signed in to change notification settings - Fork 542
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
Issue-Fix-#2733 chore(test): fixed failing tests in jkube-kit/config/service module #2803
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #2803 (2024-03-12T13:25:53Z) ⚙️ JKube E2E Tests (8249422931)
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2803 +/- ##
=============================================
+ Coverage 59.36% 70.60% +11.23%
- Complexity 4586 5008 +422
=============================================
Files 500 486 -14
Lines 21211 19449 -1762
Branches 2830 2506 -324
=============================================
+ Hits 12591 13731 +1140
+ Misses 7370 4492 -2878
+ Partials 1250 1226 -24 ☔ View full report in Codecov by Sentry. |
@@ -136,7 +136,7 @@ void init(@TempDir Path temporaryFolder) throws Exception { | |||
.thenReturn(new ArchiveService(AssemblyManager.getInstance(), logger)); | |||
when(jKubeServiceHub.getBuildServiceConfig().getBuildDirectory()).thenReturn(target.getAbsolutePath()); | |||
when(jKubeServiceHub.getConfiguration()).thenReturn(JKubeConfiguration.builder() | |||
.outputDirectory(target.getAbsolutePath()) | |||
.outputDirectory(target.getName()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be clearer if we could simply use a string literal here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
Description
Fixes #2733
Fixes #2768
For
JibBuildServiceBuildIntegrationTest
:Changed the linux file separators to platform specific file separators.
For
OpenshiftBuildServiceIntegrationTest
:Changed the
outputDirectory
to return relative path fortarget
.Changed
Dockerfile
location inbuild_withDockerfileModeAndAssembly_shouldSucceed()
tobaseDirectory
Type of change
test, version modification, documentation, etc.)
Checklist