mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	Vault test cluster helper refactorings, mostly audit related (#18928)
* Move some test helper stuff from the vault package to a new helper/testhelpers/corehelpers package. Consolidate on a single "noop audit" implementation.
This commit is contained in:
		| @@ -5,8 +5,8 @@ import ( | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/hashicorp/vault/api" | ||||
| 	"github.com/hashicorp/vault/helper/testhelpers/corehelpers" | ||||
| 	"github.com/hashicorp/vault/sdk/helper/consts" | ||||
| 	"github.com/hashicorp/vault/vault" | ||||
| 	"github.com/mitchellh/cli" | ||||
| ) | ||||
|  | ||||
| @@ -83,7 +83,7 @@ func TestPluginReloadCommand_Run(t *testing.T) { | ||||
| 	t.Run("integration", func(t *testing.T) { | ||||
| 		t.Parallel() | ||||
|  | ||||
| 		pluginDir, cleanup := vault.MakeTestPluginDir(t) | ||||
| 		pluginDir, cleanup := corehelpers.MakeTestPluginDir(t) | ||||
| 		defer cleanup(t) | ||||
|  | ||||
| 		client, _, closer := testVaultServerPluginDir(t, pluginDir) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nick Cabatoff
					Nick Cabatoff