-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix "OpenShift: Create" command #2865
Fix "OpenShift: Create" command #2865
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2865 +/- ##
==========================================
+ Coverage 33.77% 34.57% +0.79%
==========================================
Files 55 55
Lines 4059 4075 +16
Branches 768 769 +1
==========================================
+ Hits 1371 1409 +38
+ Misses 2688 2666 -22
☔ View full report in Codecov by Sentry. |
eda438d
to
7e7a97a
Compare
I re-enabled the unit tests for this command; I still need to fix one of them though |
7e7a97a
to
cab9c7f
Compare
cab9c7f
to
55558ea
Compare
d00bf47
to
1847d91
Compare
@rgrunber This issue where all projects are detected as active should be fixed now. The solution was to use |
I think I should do a refactoring so that we always use this command when we want to list all projects on the cluster |
2bbc152
to
7059f96
Compare
Closes redhat-developer#2864 Signed-off-by: David Thompson <davthomp@redhat.com>
7059f96
to
ef8eb26
Compare
@rgrunber okay, I finished the refactoring. The UI tests have been flaky for me |
Now when I call
I think that fixes the issue. @datho7561 I'm not sure if we can do anything else here. According to the docs, once the template is added, it should be possible to call |
- remove unused commands from `commands.ts` and unused methods from `odo.ts` - Notably, remove `ODO.getApplications()`, `ODO.getComponents()`, and the in-memory tree representing the cluster state, since they don't work properly and we have replacements for them - rewrite integration tests for `commands.ts` and `odo.ts` - report test coverage for integration tests - add the integration tests to the UI test Jenkinsfile workflow Depends on redhat-developer#2865, redhat-developer#2863, redhat-developer#2862 Fixes redhat-developer#2799 Signed-off-by: David Thompson <davthomp@redhat.com>
- remove unused commands from `commands.ts` and unused methods from `odo.ts` - Notably, remove `ODO.getApplications()`, `ODO.getComponents()`, and the in-memory tree representing the cluster state, since they don't work properly and we have replacements for them - rewrite integration tests for `commands.ts` and `odo.ts` - report test coverage for integration tests - add the integration tests to the UI test Jenkinsfile workflow Depends on #2865, #2863, #2862 Fixes #2799 Signed-off-by: David Thompson <davthomp@redhat.com>
Closes #2864
Signed-off-by: David Thompson davthomp@redhat.com