gotest.tools/gotestsum@v1.11.0/testjson/internal/withfails/timeout_test.go (about) 1 // +build stubpkg 2 3 package withfails 4 5 import ( 6 "os" 7 "testing" 8 "time" 9 ) 10 11 func TestTimeout(t *testing.T) { 12 if os.Getenv("TEST_ALL") != "true" { 13 t.Skip("skipping slow test") 14 } 15 time.Sleep(time.Minute) 16 }