telemetry(observations): fix the details flag check (#3960)
* telemetry(observations): fix the details flag check * telemetry(observations): fix the test names
This commit is contained in:
1 parent
b000aa3068
commit
4dce290aeb
6 files changed
+20
-8
No files matched your search
@@ -40,6 +40,7 @@ func TestAuthenticate(t *testing.T) {
|
||||
Mutex: testLock,
|
||||
Name: "test",
|
||||
})
|
||||
c.EventerConfig.TelemetryEnabled = true
|
||||
require.NoError(t, event.InitSysEventer(testLogger, testLock, "use-Test_Authenticate", event.WithEventerConfig(&c.EventerConfig)))
|
||||
// some standard factories for unit tests
|
||||
authenticatorFn := func() (Authenticator, error) {
|
||||
|
||||
@@ -52,6 +52,7 @@ func Test_Callback(t *testing.T) {
|
||||
Mutex: testLock,
|
||||
Name: "test",
|
||||
})
|
||||
c.EventerConfig.TelemetryEnabled = true
|
||||
require.NoError(t, event.InitSysEventer(testLogger, testLock, "use-Test_Callback", event.WithEventerConfig(&c.EventerConfig)))
|
||||
// some standard factories for unit tests which
|
||||
// are used in the Callback(...) call
|
||||
@@ -666,6 +667,7 @@ func Test_ManagedGroupFiltering(t *testing.T) {
|
||||
Mutex: testLock,
|
||||
Name: "test",
|
||||
})
|
||||
c.EventerConfig.TelemetryEnabled = true
|
||||
require.NoError(t, event.InitSysEventer(testLogger, testLock, "use-Test_ManagedGroupFiltering", event.WithEventerConfig(&c.EventerConfig)))
|
||||
// some standard factories for unit tests which
|
||||
// are used in the Callback(...) call
|
||||
|
||||
Reference in new issue
Block a user