Skip to content

Commit 62c280a

Browse files
committed
runtime/pprof: skip TestStackBarrierProfiling on dragonfly too
Just saw a few dragonfly failures here. I'm tempted to preemptively add plan9 here too, but I'll wait until I see it fail. Change-Id: Ic99fc088dbfd1aa21f509148aee98ccfe7f640bf Reviewed-on: https://go-review.googlesource.com/18306 Reviewed-by: Russ Cox <[email protected]>
1 parent fc1793d commit 62c280a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/pprof/pprof_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func TestMathBigDivide(t *testing.T) {
333333
}
334334

335335
func TestStackBarrierProfiling(t *testing.T) {
336-
if (runtime.GOOS == "linux" && runtime.GOARCH == "arm") || runtime.GOOS == "openbsd" || runtime.GOOS == "solaris" {
336+
if (runtime.GOOS == "linux" && runtime.GOARCH == "arm") || runtime.GOOS == "openbsd" || runtime.GOOS == "solaris" || runtime.GOOS == "dragonfly" {
337337
// This test currently triggers a large number of
338338
// usleep(100)s. These kernels/arches have poor
339339
// resolution timers, so this gives up a whole

0 commit comments

Comments
 (0)