Don't run transit fuzzing if not during acceptance tests

This commit is contained in:
Jeff Mitchell 2016-02-29 14:44:04 -05:00
parent a86c1ba264
commit 581d2cfee0

View File

@ -4,6 +4,7 @@ import (
"encoding/base64"
"fmt"
"math/rand"
"os"
"strconv"
"strings"
"sync"
@ -547,6 +548,11 @@ func TestKeyUpgrade(t *testing.T) {
}
func TestPolicyFuzzing(t *testing.T) {
// Don't run if not during acceptance tests
if os.Getenv("TF_ACC") == "" {
return
}
be := Backend()
storage := &logical.LockingInmemStorage{}