Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test/clouddriver): Mock http error using SpinnakerHttpException i…
…n WaitForCloudFormationCompletionTaskSpec (#4717) With the introduction of the commit: 84a7106 , the expected behaviour of all OortService APIs is to throw SpinnakerHttpException when any http error has occurred. Here in this test the response of the API : https://github.com/spinnaker/orca/blob/a1b32d7398eb9b1ff610d7f3afd980b51f6cf7b1/orca-clouddriver/src/main/java/com/netflix/spinnaker/orca/clouddriver/OortService.java#L182 is mocked up with RetrofitError which makes the test irrelvant. Wrapping the RetrofitError in SpinnakerHttpException to make it in compliance with the retrofit configuration. Co-authored-by: Pranav-b-7 <[email protected]>
- Loading branch information