Merge pull request #6379 from dcantah/disable-TestContainerHook-Windows
Disable TestContainerHook on Windows
This commit is contained in:
commit
e6dd97d9db
@ -1569,6 +1569,12 @@ func TestContainerLabels(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestContainerHook(t *testing.T) {
|
func TestContainerHook(t *testing.T) {
|
||||||
|
// OCI hooks aren't implemented on Windows. This test will actually run fine on Windows if there's a 'ps' binary in the users PATH, but
|
||||||
|
// there's not any actual hook functionality being tested as any of the OCI fields are plain ignored for Windows containers.
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
|
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
client, err := newClient(t, address)
|
client, err := newClient(t, address)
|
||||||
|
Loading…
Reference in New Issue
Block a user