Skip to content

Commit

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

Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
  • Loading branch information
dlorenc authored Feb 8, 2022
1 parent 1d15273 commit cb3d082
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 cb3d082

Please sign in to comment.