aboutsummaryrefslogtreecommitdiff
path: root/server/store/store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/store/store_test.go')
-rw-r--r--server/store/store_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/store/store_test.go b/server/store/store_test.go
index 629230b..18fa0d1 100644
--- a/server/store/store_test.go
+++ b/server/store/store_test.go
@@ -17,6 +17,7 @@ import (
)
func TestParseCertificate(t *testing.T) {
+ t.Parallel()
a := assert.New(t)
now := uint64(time.Now().Unix())
r, _ := rsa.GenerateKey(rand.Reader, 1024)
@@ -88,11 +89,13 @@ func testStore(t *testing.T, db CertStorer) {
}
func TestMemoryStore(t *testing.T) {
+ t.Parallel()
db := NewMemoryStore()
testStore(t, db)
}
func TestMySQLStore(t *testing.T) {
+ t.Parallel()
config := os.Getenv("MYSQL_TEST_CONFIG")
if config == "" {
t.Skip("No MYSQL_TEST_CONFIG environment variable")
@@ -105,6 +108,7 @@ func TestMySQLStore(t *testing.T) {
}
func TestMongoStore(t *testing.T) {
+ t.Parallel()
config := os.Getenv("MONGO_TEST_CONFIG")
if config == "" {
t.Skip("No MONGO_TEST_CONFIG environment variable")
@@ -117,6 +121,7 @@ func TestMongoStore(t *testing.T) {
}
func TestSQLiteStore(t *testing.T) {
+ t.Parallel()
f, err := ioutil.TempFile("", "sqlite_test_db")
if err != nil {
t.Error(err)