mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Disable tests missed by PR 40155
The tests starts a new daemon, but attempts to run it with overlay2, and using a unix:// socket, which doesn't really work on Windows. 40155 tried to disable such tests but missed two of them. They are being disabled with this change. Signed-off-by: vikrambirsingh <vikrambir.singh@docker.com>
This commit is contained in:
parent
36ffe9edc2
commit
83783af08e
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,7 @@ func TestInfoDebug(t *testing.T) {
|
||||||
|
|
||||||
func TestInfoInsecureRegistries(t *testing.T) {
|
func TestInfoInsecureRegistries(t *testing.T) {
|
||||||
skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
|
skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
|
||||||
|
skip.If(t, testEnv.DaemonInfo.OSType == "windows", "FIXME: test starts daemon with -H unix://.....")
|
||||||
|
|
||||||
const (
|
const (
|
||||||
registryCIDR = "192.168.1.0/24"
|
registryCIDR = "192.168.1.0/24"
|
||||||
|
@ -115,6 +116,7 @@ func TestInfoInsecureRegistries(t *testing.T) {
|
||||||
|
|
||||||
func TestInfoRegistryMirrors(t *testing.T) {
|
func TestInfoRegistryMirrors(t *testing.T) {
|
||||||
skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
|
skip.If(t, testEnv.IsRemoteDaemon, "cannot run daemon when remote daemon")
|
||||||
|
skip.If(t, testEnv.DaemonInfo.OSType == "windows", "FIXME: test starts daemon with -H unix://.....")
|
||||||
|
|
||||||
const (
|
const (
|
||||||
registryMirror1 = "https://192.168.1.2"
|
registryMirror1 = "https://192.168.1.2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue