mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration: skip TestDaemonProxy on rootless CI
The proxy configuration works, but looks like we're unable to connect to the test proxy server as part of our test; level=debug msg="Trying to pull example.org:5000/some/image from https://example.org:5000 v2" level=warning msg="Error getting v2 registry: Get \"https://example.org:5000/v2/\": proxyconnect tcp: dial tcp 127.0.0.1:45999: connect: connection refused" level=info msg="Attempting next endpoint for pull after error: Get \"https://example.org:5000/v2/\": proxyconnect tcp: dial tcp 127.0.0.1:45999: connect: connection refused" level=error msg="Handler for POST /v1.42/images/create returned error: Get \"https://example.org:5000/v2/\": proxyconnect tcp: dial tcp 127.0.0.1:45999: connect: connection refused" Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
427c7cc5f8
commit
bad4b30e65
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ func TestConfigDaemonSeccompProfiles(t *testing.T) {
|
|||
|
||||
func TestDaemonProxy(t *testing.T) {
|
||||
skip.If(t, runtime.GOOS == "windows", "cannot start multiple daemons on windows")
|
||||
skip.If(t, os.Getenv("DOCKER_ROOTLESS") != "", "cannot connect to localhost proxy in rootless environment")
|
||||
|
||||
var received string
|
||||
proxyServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
Loading…
Reference in a new issue