Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/component/otelcol/internal/featuregate/install_test.go
4096 views
1
package featuregate
2
3
import (
4
"testing"
5
6
"github.com/stretchr/testify/require"
7
"go.opentelemetry.io/collector/featuregate"
8
)
9
10
func Test_enableFeatureGates(t *testing.T) {
11
err := enableFeatureGates(featuregate.GetRegistry())
12
require.NoError(t, err, "enableFeatureGates should not have a failed. Did a feature gate get removed from upstream?")
13
}
14
15