Commit 0bbcce96 authored by Bryan C. Mills's avatar Bryan C. Mills

cmd/go/internal/lockedfile: skip flaky TestTransform on plan9

Updates #35471

Change-Id: Ie06c442e405a267eb909621e1205444b6a00fda1
Reviewed-on: https://go-review.googlesource.com/c/go/+/206197
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarDavid du Colombier <0intro@gmail.com>
parent b7d097a4
...@@ -10,8 +10,10 @@ package lockedfile_test ...@@ -10,8 +10,10 @@ package lockedfile_test
import ( import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"internal/testenv"
"math/rand" "math/rand"
"path/filepath" "path/filepath"
"runtime"
"testing" "testing"
"time" "time"
...@@ -35,6 +37,10 @@ func roundDownToPowerOf2(x int) int { ...@@ -35,6 +37,10 @@ func roundDownToPowerOf2(x int) int {
} }
func TestTransform(t *testing.T) { func TestTransform(t *testing.T) {
if runtime.GOOS == "plan9" {
testenv.SkipFlaky(t, 35471)
}
dir, remove := mustTempDir(t) dir, remove := mustTempDir(t)
defer remove() defer remove()
path := filepath.Join(dir, "blob.bin") path := filepath.Join(dir, "blob.bin")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment