diff options
Diffstat (limited to 'extras/hs-test/proxy_test.go')
-rw-r--r-- | extras/hs-test/proxy_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/hs-test/proxy_test.go b/extras/hs-test/proxy_test.go index c09fe56b3bc..167cf25fa52 100644 --- a/extras/hs-test/proxy_test.go +++ b/extras/hs-test/proxy_test.go @@ -8,6 +8,7 @@ import ( func init() { RegisterVppProxyTests(VppProxyHttpTcpTest, VppProxyHttpTlsTest) RegisterEnvoyProxyTests(EnvoyProxyHttpTcpTest) + RegisterNginxProxyTests(NginxMirroringTest) } func configureVppProxy(s *VppProxySuite, proto string, proxyPort uint16) { @@ -41,3 +42,10 @@ func EnvoyProxyHttpTcpTest(s *EnvoyProxySuite) { uri := fmt.Sprintf("http://%s:%d/httpTestFile", s.ProxyAddr(), s.ProxyPort()) s.CurlDownloadResource(uri) } + +// broken when CPUS > 1 +func NginxMirroringTest(s *NginxProxySuite) { + s.SkipIfMultiWorker() + uri := fmt.Sprintf("http://%s:%d/httpTestFile", s.ProxyAddr(), s.ProxyPort()) + s.CurlDownloadResource(uri) +} |