Skip to content

Commit

Permalink
Merge pull request #1098 from katiewasnothere/fix_mount_functional_test
Browse files Browse the repository at this point in the history
Fix build break in functional tests
  • Loading branch information
katiewasnothere authored Aug 10, 2021
2 parents b8f71ac + fd0cf7b commit d300e45
Show file tree
Hide file tree
Showing 17 changed files with 409 additions and 29 deletions.
5 changes: 3 additions & 2 deletions test/functional/wcow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,14 @@ func TestWCOWArgonShim(t *testing.T) {
}
}()

id := "argon"
// This is a cheat but stops us re-writing exactly the same code just for test
argonShimLocalMountPath, err := layerspkg.MountContainerLayers(context.Background(), append(imageLayers, argonShimScratchDir), "", "", nil)
argonShimLocalMountPath, err := layerspkg.MountContainerLayers(context.Background(), id, append(imageLayers, argonShimScratchDir), "", "", nil)
if err != nil {
t.Fatal(err)
}
argonShimMounted = true
argonShim, err := hcsshim.CreateContainer("argon", &hcsshim.ContainerConfig{
argonShim, err := hcsshim.CreateContainer(id, &hcsshim.ContainerConfig{
SystemType: "Container",
Name: "argonShim",
VolumePath: argonShimLocalMountPath,
Expand Down
1 change: 1 addition & 0 deletions test/vendor/github.com/Microsoft/hcsshim/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/vendor/github.com/Microsoft/hcsshim/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d300e45

Please sign in to comment.