Fix tests using multiple controllers (#1734)

The previous PR only initialized plugins if they were required, which
meant that there may not actually be a plugin manager running because a
second node would not actually create the dev database, which is where
the plugin was being added. The assumption that a plugin manager is
running is still a fine one at the moment, but we just need to make sure
it's running in _all_ cases.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-11-18 16:01:15 -05:00
1 parent ad8ce50f69
commit 95568ef07f
5 files changed
+17 -17

No files matched your search

+3
View File
@@ -25,12 +25,15 @@ type EnabledPlugin uint
const (
EnabledPluginUnknown EnabledPlugin = iota
EnabledPluginHostLoopback
EnabledPluginHostAws
EnabledPluginHostAzure
)
func (e EnabledPlugin) String() string {
switch e {
case EnabledPluginHostLoopback:
return "Loopback"
case EnabledPluginHostAws:
return "AWS"
case EnabledPluginHostAzure: