Skip to content

Commit

Permalink
Merge pull request #2897 from djdongjin/deflake-ipfs-tests
Browse files Browse the repository at this point in the history
Deflake IPFS and EStargz tests
  • Loading branch information
AkihiroSuda authored Mar 25, 2024
2 parents 2066b28 + e7608c8 commit b668da5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cmd/nerdctl/image_convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func TestImageConvertEStargz(t *testing.T) {
t.Skip("no windows support yet")
}
testutil.DockerIncompatible(t)
t.Parallel()
base := testutil.NewBase(t)
convertedImage := testutil.Identifier(t) + ":esgz"
base.Cmd("rmi", convertedImage).Run()
Expand Down
2 changes: 1 addition & 1 deletion cmd/nerdctl/ipfs_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestIPFSWithLazyPullingCommit(t *testing.T) {
func pushImageToIPFS(t *testing.T, base *testutil.Base, name string, opts ...string) string {
base.Cmd("pull", name).AssertOK()
ipfsCID := cidOf(t, base.Cmd(append([]string{"push"}, append(opts, "ipfs://"+name)...)...).OutLines())
base.Cmd("rmi", name).AssertOK()
base.Cmd("rmi", name).Run()
return ipfsCID
}

Expand Down

0 comments on commit b668da5

Please sign in to comment.