func TestConnTrackerDelete(t *testing.T) {
	tr := NewTestTracker(time.Second * 1)
	ic := tr.NewInstrumentedConn(&net.UnixConn{}, logrus.NewEntry(testLogger), "testDeleteConn", "localhost", "http")
	ic.Close()
	tr.Range(func(k, v interface{}) bool {
		t.Fatal("conn map should be empty")
		return false
	})
}
TestConnTrackerDelete is a sanity check to ensure we aren't leaking
connection references in the tracker's sync.Map
package conntrack
import (
	"net"
	"sync/atomic"
	"testing"
	"time"
	"github.com/DataDog/datadog-go/statsd"
	"github.com/sirupsen/logrus"
	"github.com/stretchr/testify/assert"
)
var testLogger = logrus.New()