mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 10:12:35 +00:00
Diagnose: Skip test-access-storage on raft storage (#11889)
This commit is contained in:
@@ -303,7 +303,7 @@ func (c *OperatorDiagnoseCommand) offlineDiagnostics(ctx context.Context) error
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Attempt to use storage backend
|
// Attempt to use storage backend
|
||||||
if !c.skipEndEnd {
|
if !c.skipEndEnd && config.Storage.Type != storageTypeRaft {
|
||||||
diagnose.Test(ctx, "test-access-storage", diagnose.WithTimeout(30*time.Second, func(ctx context.Context) error {
|
diagnose.Test(ctx, "test-access-storage", diagnose.WithTimeout(30*time.Second, func(ctx context.Context) error {
|
||||||
maxDurationCrudOperation := "write"
|
maxDurationCrudOperation := "write"
|
||||||
maxDuration := time.Duration(0)
|
maxDuration := time.Duration(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user