hughesjr / rpms / golang

Forked from rpms/golang 5 years ago
Clone

Blame SOURCES/disable-flanky-CPU-profile-test.patch

130f5c
From d7e20439aec69dbcdd01a0c71fd8e40b285bfbe5 Mon Sep 17 00:00:00 2001
130f5c
From: Tomas Hrcka <thrcka@redhat.com>
130f5c
Date: Tue, 30 Jun 2015 09:12:26 +0200
130f5c
Subject: [PATCH] Disable flanky CPU profile test
130f5c
130f5c
---
130f5c
 src/runtime/pprof/pprof_test.go | 2 +-
130f5c
 1 file changed, 1 insertion(+), 1 deletion(-)
130f5c
130f5c
diff --git a/src/runtime/pprof/pprof_test.go b/src/runtime/pprof/pprof_test.go
130f5c
index 8677cb3..8f3c7df 100644
130f5c
--- a/src/runtime/pprof/pprof_test.go
130f5c
+++ b/src/runtime/pprof/pprof_test.go
130f5c
@@ -71,7 +71,7 @@ func TestCPUProfile(t *testing.T) {
130f5c
 	})
130f5c
 }
130f5c
 
130f5c
-func TestCPUProfileMultithreaded(t *testing.T) {
130f5c
+func testCPUProfileMultithreaded(t *testing.T) {
130f5c
 	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
130f5c
 	testCPUProfile(t, []string{"runtime/pprof_test.cpuHog1", "runtime/pprof_test.cpuHog2"}, func() {
130f5c
 		c := make(chan int)
130f5c
-- 
130f5c
1.8.3.1
130f5c