z_final_test.go
5190f7f3
 package docker
 
 import (
 	"github.com/dotcloud/docker/utils"
 	"runtime"
 	"testing"
 )
 
fd9ad1a1
 func displayFdGoroutines(t *testing.T) {
 	t.Logf("Fds: %d, Goroutines: %d", utils.GetTotalUsedFds(), runtime.NumGoroutine())
 }
 
5190f7f3
 func TestFinal(t *testing.T) {
 	cleanup(globalRuntime)
fd9ad1a1
 	t.Logf("Start Fds: %d, Start Goroutines: %d", startFds, startGoroutines)
 	displayFdGoroutines(t)
5190f7f3
 }