z_final_test.go 227 B

123456789101112
  1. package docker
  2. import (
  3. "github.com/dotcloud/docker/utils"
  4. "runtime"
  5. "testing"
  6. )
  7. func TestFinal(t *testing.T) {
  8. cleanup(globalRuntime)
  9. t.Logf("Fds: %d, Goroutines: %d", utils.GetTotalUsedFds(), runtime.NumGoroutine())
  10. }