From c680a4665711ce344dfbaf9320d44045150d3efd Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Wed, 2 Aug 2023 11:55:20 +0200 Subject: [PATCH] fix --- tests/helper/helper_dev.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/helper/helper_dev.go b/tests/helper/helper_dev.go index cfd696f0e22..b66e2090a02 100644 --- a/tests/helper/helper_dev.go +++ b/tests/helper/helper_dev.go @@ -205,8 +205,7 @@ func StartDevMode(options DevSessionOpts) (devSession DevSession, err error) { result.ErrOut = string(errContents) result.Endpoints = getPorts(string(outContents), options.CustomAddress) if options.StartAPIServer { - // errContents because the server message is still printed as a log/warning - result.APIServerEndpoint = getAPIServerPort(string(errContents)) + result.APIServerEndpoint = getAPIServerPort(string(outContents)) } return result, nil