Skip to content

Commit

Permalink
Fix destination protocol flake in map-route test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariash authored and a-b committed Jan 20, 2022
1 parent 7389313 commit 8eefb50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/cloudcontroller/ccv3/route_test.go
Original file line number Diff line number Diff line change
@@ -539,7 +539,7 @@ var _ = Describe("Route", func() {
var (
routeGUID = "route-guid"
appGUID = "app-guid"
destinationProtocol = "http2"
destinationProtocol string
expectedBody string
warnings Warnings
executeErr error
@@ -559,6 +559,7 @@ var _ = Describe("Route", func() {

When("the request is successful", func() {
BeforeEach(func() {
destinationProtocol = "http2"
expectedBody = fmt.Sprintf(`
{
"destinations": [

0 comments on commit 8eefb50

Please sign in to comment.