jkube
jkube copied to clipboard
fix: FileAssertions related unit test failures
Description
Fix https://github.com/eclipse/jkube/issues/1409 Unit tests that use FileAssertions:fileTree is failing due to invalid expected file paths.
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change
- [x] Chore (non-breaking change which doesn't affect codebase; test, version modification, documentation, etc.)
Checklist
- [x] I have read the contributing guidelines
- [x] I signed-off my commit with a user that has signed the Eclipse Contributor Agreement
- [ ] I Added CHANGELOG entry
- [ ] I have implemented unit tests to cover my changes
- [ ] I have updated the documentation accordingly
- [ ] No new bugs, code smells, etc. in SonarCloud report
- [ ] I tested my code in Kubernetes
- [ ] I tested my code in OpenShift
Eclipse JKube CI Report
Started new GH workflow run for https://github.com/eclipse/jkube/pull/1428 (2022-04-07T01:06:58Z)
:gear: JKube E2E Tests (2105935508)
- :heavy_check_mark: Bootstrap CI test run (#1428)
- :heavy_check_mark: K8S v1.12.0 dockerfile (#1428)
- :heavy_check_mark: K8S v1.12.0 other (#1428)
- :heavy_check_mark: K8S v1.12.0 quarkus (#1428)
- :heavy_check_mark: K8S v1.12.0 quarkus-native (#1428)
- :heavy_check_mark: K8S v1.12.0 springboot (#1428)
- :heavy_check_mark: K8S v1.12.0 webapp (#1428)
- :heavy_check_mark: K8S v1.20.1 dockerfile (#1428)
- :heavy_check_mark: K8S v1.20.1 other (#1428)
- :heavy_check_mark: K8S v1.20.1 quarkus (#1428)
- :heavy_check_mark: K8S v1.20.1 quarkus-native (#1428)
- :heavy_check_mark: K8S v1.20.1 springboot (#1428)
- :heavy_check_mark: K8S v1.20.1 webapp (#1428)
- :heavy_check_mark: OpenShift v3.11.0 other (#1428)
- :heavy_check_mark: OpenShift v3.11.0 quarkus (#1428)
- :heavy_check_mark: OpenShift v3.11.0 springboot (#1428)
- :heavy_check_mark: OpenShift v3.11.0 webapp (#1428)
- :heavy_check_mark: OpenShift v3.9.0 other (#1428)
- :heavy_check_mark: OpenShift v3.9.0 quarkus (#1428)
- :heavy_check_mark: OpenShift v3.9.0 springboot (#1428)
- :heavy_check_mark: OpenShift v3.9.0 webapp (#1428)
- :heavy_check_mark: Windows (#1428)
@rohanKanojia could you please help with the build failure. Can we try re-running ci/circleci: doc-preview-pr step, seems like I don't have permission.
Codecov Report
Merging #1428 (bc4b0d2) into master (ded7049) will not change coverage. The diff coverage is
0.00%
.
@@ Coverage Diff @@
## master #1428 +/- ##
=========================================
Coverage 51.02% 51.02%
Complexity 3796 3796
=========================================
Files 459 459
Lines 20683 20683
Branches 2809 2809
=========================================
Hits 10553 10553
Misses 9014 9014
Partials 1116 1116
Impacted Files | Coverage Δ | |
---|---|---|
...lipse/jkube/kit/common/assertj/FileAssertions.java | 0.00% <0.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ded7049...bc4b0d2. Read the comment docs.
I remember this 😂 I fixed it as well as part of https://github.com/eclipse/jkube/pull/1416 but without recurring to the real path, which would break in case of non-existing paths (ie. mocks)
@cdprete I guess we could close it as duplicate, once https://github.com/eclipse/jkube/pull/1416 is merged ?
@cdprete I guess we could close it as duplicate, once #1416 is merged ?
Yep
outdated