Skip to content

Commit

Permalink
test: Revert "test: Fix mockContainer"
Browse files Browse the repository at this point in the history
This reverts commit ab489ae.
To fix shimv2 tests random fails.

Fixes: kata-containers#502

Signed-off-by: Hui Zhu <teawater@hyper.sh>
  • Loading branch information
teawater committed Mar 28, 2019
1 parent 48dd1c0 commit 8f893b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mockcontainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

"github.com/opencontainers/runc/libcontainer"
"github.com/opencontainers/runc/libcontainer/configs"
"github.com/opencontainers/runtime-spec/specs-go"
)

type mockContainer struct {
Expand All @@ -34,10 +33,6 @@ func (m *mockContainer) State() (*libcontainer.State, error) {
return nil, nil
}

func (m *mockContainer) OCIState() (*specs.State, error) {
return nil, nil
}

func (m *mockContainer) Config() configs.Config {
return configs.Config{
Capabilities: &configs.Capabilities{},
Expand Down

0 comments on commit 8f893b9

Please sign in to comment.