Skip to content

Commit

Permalink
Skip the ReadWrite test that flakes on Windows. (sigstore#1415)
Browse files Browse the repository at this point in the history
See sigstore#1389

Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
  • Loading branch information
dlorenc authored and mlieberman85 committed May 6, 2022
1 parent cf2f4a0 commit cec8d8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/oci/layout/write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package layout

import (
"fmt"
"runtime"
"testing"

"github.com/google/go-cmp/cmp"
Expand All @@ -29,6 +30,9 @@ import (
)

func TestReadWrite(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("test is flaky on windows, see https://github.com/sigstore/cosign/issues/1389")
}
// write random signed image to disk
si := randomSignedImage(t)
tmp := t.TempDir()
Expand Down

0 comments on commit cec8d8b

Please sign in to comment.