|
@@ -19,6 +19,7 @@ import (
|
|
"golang.org/x/sys/unix"
|
|
"golang.org/x/sys/unix"
|
|
"gotest.tools/v3/assert"
|
|
"gotest.tools/v3/assert"
|
|
is "gotest.tools/v3/assert/cmp"
|
|
is "gotest.tools/v3/assert/cmp"
|
|
|
|
+ "gotest.tools/v3/skip"
|
|
)
|
|
)
|
|
|
|
|
|
// #5979
|
|
// #5979
|
|
@@ -50,6 +51,7 @@ func (s *DockerCLIEventSuite) TestEventsRedirectStdout(c *testing.T) {
|
|
|
|
|
|
func (s *DockerCLIEventSuite) TestEventsOOMDisableFalse(c *testing.T) {
|
|
func (s *DockerCLIEventSuite) TestEventsOOMDisableFalse(c *testing.T) {
|
|
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, swapMemorySupport, NotPpc64le)
|
|
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, swapMemorySupport, NotPpc64le)
|
|
|
|
+ skip.If(c, GitHubActions, "FIXME: https://github.com/moby/moby/pull/36541")
|
|
|
|
|
|
errChan := make(chan error, 1)
|
|
errChan := make(chan error, 1)
|
|
go func() {
|
|
go func() {
|
|
@@ -80,6 +82,7 @@ func (s *DockerCLIEventSuite) TestEventsOOMDisableFalse(c *testing.T) {
|
|
|
|
|
|
func (s *DockerCLIEventSuite) TestEventsOOMDisableTrue(c *testing.T) {
|
|
func (s *DockerCLIEventSuite) TestEventsOOMDisableTrue(c *testing.T) {
|
|
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, NotArm, swapMemorySupport, NotPpc64le)
|
|
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, NotArm, swapMemorySupport, NotPpc64le)
|
|
|
|
+ skip.If(c, GitHubActions, "FIXME: https://github.com/moby/moby/pull/36541")
|
|
|
|
|
|
errChan := make(chan error, 1)
|
|
errChan := make(chan error, 1)
|
|
observer, err := newEventObserver(c)
|
|
observer, err := newEventObserver(c)
|