mirror of
https://github.com/golang/go
synced 2024-11-18 03:24:42 -07:00
runtime/pprof: unskip TestTimeVDSO on Android
It is possible that CL 455166 fixes this. Try unskipping the test and see. If it fails again we can skip it again. Fixes #48655. Change-Id: Ia81b06cb7608f74adb276bc018e8fc840285bc11 Reviewed-on: https://go-review.googlesource.com/c/go/+/455358 Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
fe67a21625
commit
98da0fb43f
@ -2262,11 +2262,6 @@ func TestTimeVDSO(t *testing.T) {
|
|||||||
// Test that time functions have the right stack trace. In particular,
|
// Test that time functions have the right stack trace. In particular,
|
||||||
// it shouldn't be recursive.
|
// it shouldn't be recursive.
|
||||||
|
|
||||||
if runtime.GOOS == "android" {
|
|
||||||
// Flaky on Android, issue 48655. VDSO may not be enabled.
|
|
||||||
testenv.SkipFlaky(t, 48655)
|
|
||||||
}
|
|
||||||
|
|
||||||
matches := matchAndAvoidStacks(stackContains, []string{"time.now"}, avoidFunctions())
|
matches := matchAndAvoidStacks(stackContains, []string{"time.now"}, avoidFunctions())
|
||||||
p := testCPUProfile(t, matches, func(dur time.Duration) {
|
p := testCPUProfile(t, matches, func(dur time.Duration) {
|
||||||
t0 := time.Now()
|
t0 := time.Now()
|
||||||
|
Loading…
Reference in New Issue
Block a user