blob: a6cb9347093afc32505aff98fa3c6abba35a4603 [file] [log] [blame]
# Tests issue 19394
[short] skip
cd profiling
! go test -cpuprofile cpu.pprof -memprofile mem.pprof -timeout 1ms
grep . cpu.pprof
grep . mem.pprof
-- profiling/timeout_test.go --
package timeouttest_test
import "testing"
import "time"
func TestSleep(t *testing.T) { time.Sleep(time.Second) }