github.com/dougm/docker@v1.5.0/integration/z_final_test.go (about) 1 package docker 2 3 import ( 4 "github.com/docker/docker/utils" 5 "runtime" 6 "testing" 7 ) 8 9 func displayFdGoroutines(t *testing.T) { 10 t.Logf("Fds: %d, Goroutines: %d", utils.GetTotalUsedFds(), runtime.NumGoroutine()) 11 } 12 13 func TestFinal(t *testing.T) { 14 nuke(globalDaemon) 15 t.Logf("Start Fds: %d, Start Goroutines: %d", startFds, startGoroutines) 16 displayFdGoroutines(t) 17 }