diff --git a/ui-v2/app/controllers/dc/services/instance.js b/ui-v2/app/controllers/dc/services/instance.js index 37847bb51..dcde2743a 100644 --- a/ui-v2/app/controllers/dc/services/instance.js +++ b/ui-v2/app/controllers/dc/services/instance.js @@ -22,6 +22,10 @@ export default Controller.extend(WithEventSource, { type: 'warning', action: 'update', }); + const proxy = get(this, 'proxy'); + if (proxy) { + proxy.close(); + } } } }), diff --git a/ui-v2/tests/acceptance/dc/services/instances/show.feature b/ui-v2/tests/acceptance/dc/services/instances/show.feature index 8547bf661..d03d59f68 100644 --- a/ui-v2/tests/acceptance/dc/services/instances/show.feature +++ b/ui-v2/tests/acceptance/dc/services/instances/show.feature @@ -82,4 +82,7 @@ Feature: dc / services / instances / show: Show Service Instance Then the url should be /dc1/services/service-0/service-0-with-id And an external edit results in 0 instance models And pause until I see the text "deregistered" in "[data-notification]" + @ignore + Scenario: A Service Instance's proxy blocking query is closed when the instance is deregistered + Then ok