You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
control-service: Fix JsonSyntaxException when cancelling execution
Why: During testing of the new feature - cancelling a running or submitted
data job execution I stumbled upon an error in the K8S api. A sucessfull
call would throw a JsonSyntaxException. This is a known issue on the K8S
API - kubernetes-client/java#86 . We already handle
this in other methods.
What: Mimicked the way we handle this exception in our codebase and
modified the cancelRunningCronJob method to handle JsonSyntaxExceptions.
Type: Bug fix.
Testing: ci/cd and ran tests concerning Execution cancellation locally.
Signed-off-by: mrMoZ1 <mzhivkov@vmware.com>
Copy file name to clipboardExpand all lines: projects/control-service/projects/pipelines_control_service/src/main/java/com/vmware/taurus/service/KubernetesService.java
Copy file name to clipboardExpand all lines: projects/control-service/projects/pipelines_control_service/src/main/java/com/vmware/taurus/service/execution/JobExecutionService.java
0 commit comments