15 lines
317 B
Go
15 lines
317 B
Go
//go:build windows
|
|
|
|
package ad_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/internal/collector/ad"
|
|
"github.com/prometheus-community/windows_exporter/internal/utils/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
testutils.FuncBenchmarkCollector(b, ad.Name, ad.NewWithFlags)
|
|
}
|