Skip to content

Commit 56a6552

Browse files
Merge pull request #3229 from estesp/fix-appveyor
[release/1.2] cherry-pick: Appveyor fixes from master
2 parents 894b81a + 0b2d89c commit 56a6552

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

client_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ func TestMain(m *testing.M) {
111111
}).Info("running tests against containerd")
112112

113113
// pull a seed image
114+
log.G(ctx).Info("start to pull seed image")
114115
if _, err = client.Pull(ctx, testImage, WithPullUnpack); err != nil {
115-
ctrd.Stop()
116-
ctrd.Wait()
117116
fmt.Fprintf(os.Stderr, "%s: %s\n", err, buf.String())
117+
ctrd.Kill()
118+
ctrd.Wait()
118119
os.Exit(1)
119120
}
120121

client_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
const (
2525
defaultAddress = `\\.\pipe\containerd-containerd-test`
26-
testImage = "docker.io/microsoft/nanoserver:latest"
26+
testImage = "docker.io/microsoft/nanoserver@sha256:8f78a4a7da4464973a5cd239732626141aec97e69ba3e4023357628630bc1ee2"
2727
)
2828

2929
var (

0 commit comments

Comments
 (0)