Skip to content
Snippets Groups Projects
Commit e535d677 authored by Cherry Mui's avatar Cherry Mui
Browse files

Revert "runtime/pprof: unskip TestTimeVDSO on Android"

This reverts CL 455358, commit 98da0fb4.

Reason for revert: still failing https://build.golang.org/log/c9f13a76069f523b5b4a37a75ec52b30a1f3427a

Change-Id: I8246d233c4fb86781b882f19dea82065cc21bc26
Reviewed-on: https://go-review.googlesource.com/c/go/+/455696


Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: default avatarMichael Pratt <mpratt@google.com>
parent 89871dd8
No related branches found
No related tags found
No related merge requests found
...@@ -2262,6 +2262,11 @@ func TestTimeVDSO(t *testing.T) { ...@@ -2262,6 +2262,11 @@ 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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment