Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ users:
KhitemMed:
name: Medfouni Khitem
email: lk_medfouni@esi.dz
IrvingMg:
name: Irving Mondragón
email: mirvingr@gmail.com
1 change: 1 addition & 0 deletions .github/linters/urunc-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ sirupsen
socker
stretchr
strictatime
subtest
superfences
sworker
symfollow
Expand Down
2 changes: 0 additions & 2 deletions tests/e2e/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ type testTool interface {
getContainerID() string
setPodID(string)
setContainerID(string)
pullImage() error
rmImage() error
createPod() (string, error)
createContainer() (string, error)
startContainer(bool) (string, error)
Expand Down
24 changes: 0 additions & 24 deletions tests/e2e/crictl.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,30 +157,6 @@ func (i *crictlInfo) setContainerID(cID string) {
i.containerID = cID
}

func (i *crictlInfo) pullImage() error {
cmdBase := crictlName
cmdBase += " pull "
cmdBase += i.testArgs.Image
output, err := commonCmdExec(cmdBase)
if err != nil {
return fmt.Errorf("Pull: %s -- %v", output, err)
}

return nil
}

func (i *crictlInfo) rmImage() error {
cmdBase := crictlName
cmdBase += " rmi "
cmdBase += i.testArgs.Image
output, err := commonCmdExec(cmdBase)
if err != nil {
return fmt.Errorf("Remove image: %s -- %v", output, err)
}

return nil
}

func (i *crictlInfo) createPod() (string, error) {
cwd, err := os.Getwd()
if err != nil {
Expand Down
8 changes: 0 additions & 8 deletions tests/e2e/ctr.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ func (i *ctrInfo) setContainerID(cID string) {
i.containerID = cID
}

func (i *ctrInfo) pullImage() error {
return commonPull(ctrName, i.testArgs.Image)
}

func (i *ctrInfo) rmImage() error {
return commonRmImage(ctrName, i.testArgs.Image)
}

func (i *ctrInfo) createPod() (string, error) {
// Not supported by ctr
return "", errToolDoesNotSupport
Expand Down
8 changes: 0 additions & 8 deletions tests/e2e/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ func (i *dockerInfo) setContainerID(cID string) {
i.containerID = cID
}

func (i *dockerInfo) pullImage() error {
return commonPull(dockerName, i.testArgs.Image)
}

func (i *dockerInfo) rmImage() error {
return commonRmImage(dockerName, i.testArgs.Image)
}

func (i *dockerInfo) createPod() (string, error) {
// Not supported by docker
return "", errToolDoesNotSupport
Expand Down
Loading
Loading