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 <[email protected]>
  • Loading branch information
dlorenc authored and Marc Hildenbrand committed Apr 19, 2022
1 parent 6cc9222 commit c51d114
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 c51d114

Please sign in to comment.