From 04826743ea647f67fef414761a4ca2536523226b Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 8 Mar 2023 13:35:35 -0500 Subject: [PATCH] 20187: Update test. Discovery doc can no longer be counted on to proxy through to rails. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/controller/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go index 76eab9ca15..52bc4f907e 100644 --- a/lib/controller/handler_test.go +++ b/lib/controller/handler_test.go @@ -210,7 +210,7 @@ func (s *HandlerSuite) TestProxyDiscoveryDoc(c *check.C) { // etc. func (s *HandlerSuite) TestRequestCancel(c *check.C) { ctx, cancel := context.WithCancel(context.Background()) - req := httptest.NewRequest("GET", "/discovery/v1/apis/arvados/v1/rest", nil).WithContext(ctx) + req := httptest.NewRequest("GET", "/static/login_failure", nil).WithContext(ctx) resp := httptest.NewRecorder() cancel() s.handler.ServeHTTP(resp, req) -- 2.30.2