MM-59954 Community plugins telemetry (#28226)
* add known plugins to the list of possible plugins to be located * improve testing and fix config data collection * Improve testing * remove empty lines * make linter happy * go through all plugins
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
87ad717434
Коммит
343746c4b6
@@ -552,9 +552,12 @@ func TestRudderTelemetry(t *testing.T) {
|
||||
assert.Contains(t, b.Properties, "enable_testplugin")
|
||||
assert.Contains(t, b.Properties, "version_testplugin")
|
||||
|
||||
// Confirm known plugins are not present
|
||||
assert.NotContains(t, b.Properties, "enable_jira")
|
||||
assert.NotContains(t, b.Properties, "version_jira")
|
||||
// Confirm known plugins are present
|
||||
assert.Contains(t, b.Properties, "enable_jira")
|
||||
assert.Contains(t, b.Properties, "version_jira")
|
||||
|
||||
// Confirm it doesn't contain unknown plugins
|
||||
assert.NotContains(t, b.Properties, "enable_something")
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Ссылка в новой задаче
Block a user