diff --git a/gateway/testutil.go b/gateway/testutil.go index 5b2de1a5db2..8e2825fe187 100644 --- a/gateway/testutil.go +++ b/gateway/testutil.go @@ -1161,7 +1161,9 @@ func (s *Test) newGateway(genConf func(globalConf *config.Config)) *Gateway { gwConfig.BundleBaseURL = testHttpBundles gwConfig.MiddlewarePath = testMiddlewarePath - config.FillEnv(&gwConfig) + if err := config.FillEnv(&gwConfig); err != nil { + log.WithError(err).Error("error filling test config from env") + } // force ipv4 for now, to work around the docker bug affecting // Go 1.8 and earlier