Plugins: Add integration test for provisioned plugin dashboard import (#105681)
* add test * make it fail * get test work reliably * get or create db section * remove unnecessary code * move test to first * add comment * apply PR feedback
This commit is contained in:
@@ -254,6 +254,8 @@ func (ps *ProvisioningServiceImpl) ProvisionDatasources(ctx context.Context) err
|
||||
}
|
||||
|
||||
func (ps *ProvisioningServiceImpl) ProvisionPlugins(ctx context.Context) error {
|
||||
ps.mutex.Lock()
|
||||
defer ps.mutex.Unlock()
|
||||
appPath := filepath.Join(ps.Cfg.ProvisioningPath, "plugins")
|
||||
if err := ps.provisionPlugins(ctx, appPath, ps.pluginStore, ps.pluginsSettings, ps.orgService); err != nil {
|
||||
err = fmt.Errorf("%v: %w", "app provisioning error", err)
|
||||
|
||||
Reference in New Issue
Block a user