Skip to content

Commit c135968

Browse files
committed
provider: mark TestOfflineRecordsThenOnlineRepublish flaky on windows
1 parent 38ecf0e commit c135968

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

provider/reprovider_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12+
"github.com/ipfs/boxo/internal/test"
1213
"github.com/ipfs/go-cid"
1314
"github.com/ipfs/go-datastore"
1415
dssync "github.com/ipfs/go-datastore/sync"
@@ -180,6 +181,9 @@ func testProvider(t *testing.T, singleProvide bool) {
180181
}
181182

182183
func TestOfflineRecordsThenOnlineRepublish(t *testing.T) {
184+
if runtime.GOOS == "windows" {
185+
test.Flaky(t)
186+
}
183187
// Don't run in Parallel as this test is time sensitive.
184188

185189
someHash, err := mh.Sum([]byte("Vires in Numeris!"), mh.BLAKE3, -1)

0 commit comments

Comments
 (0)