package
2.3.0+incompatible
Repository: https://github.com/jaegertracing/jaeger.git
Documentation: pkg.go.dev
# Functions
IgnoreGlogFlushDaemonLeak returns a goleak.Option that ignores the flushDaemon function from the glog package that can cause false positives in leak detection.
IgnoreGoMetricsMeterLeak prevents the leak created by go-metrics which is used by Sarama (Kafka Client) in Jaeger v1.
IgnoreOpenCensusWorkerLeak This prevent catching the leak generated by opencensus defaultWorker.Start which at the time is part of the package's init call.
NewEchoLogger is similar to NewLogger, but the logs are also echoed to t.Log.
NewLogger creates a new zap.Logger backed by a zaptest.Buffer, which is also returned.
VerifyGoLeaks verifies that unit tests do not leak any goroutines.
VerifyGoLeaksForES is go leak check for integration package in ElasticSearch Environment This must not be used anywhere else other than integration package in ES environment for v1.
VerifyGoLeaksOnce verifies that a given unit test does not leak any goroutines.
VerifyGoLeaksOnceForES is go leak check for ElasticSearch integration tests (v1) This must not be used anywhere else other than integration package for v1.
# Variables
LogMatcher is a helper func that returns true if the subStr appears more than 'occurrences' times in the logs.