mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-03 20:17:59 +00:00 
			
		
		
		
	Refactor plugin catalog and plugin runtime catalog into their own package (#24403)
* Refactor plugin catalog into its own package * Fix some unnecessarily slow tests due to accidentally running multiple plugin processes * Clean up MakeTestPluginDir helper * Move getBackendVersion tests to plugin catalog package * Use corehelpers.MakeTestPlugin consistently * Fix semgrep failure: check for nil value from logical.Storage
This commit is contained in:
		@@ -85,8 +85,7 @@ func TestPluginReloadCommand_Run(t *testing.T) {
 | 
			
		||||
	t.Run("integration", func(t *testing.T) {
 | 
			
		||||
		t.Parallel()
 | 
			
		||||
 | 
			
		||||
		pluginDir, cleanup := corehelpers.MakeTestPluginDir(t)
 | 
			
		||||
		defer cleanup(t)
 | 
			
		||||
		pluginDir := corehelpers.MakeTestPluginDir(t)
 | 
			
		||||
 | 
			
		||||
		client, _, closer := testVaultServerPluginDir(t, pluginDir)
 | 
			
		||||
		defer closer()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user