aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/handlers_test.go5
-rw-r--r--server/signer/signer_test.go3
-rw-r--r--server/store/store_test.go4
3 files changed, 0 insertions, 12 deletions
diff --git a/server/handlers_test.go b/server/handlers_test.go
index b2646a3..a08d638 100644
--- a/server/handlers_test.go
+++ b/server/handlers_test.go
@@ -49,7 +49,6 @@ func newContext(t *testing.T) *appContext {
}
func TestLoginHandler(t *testing.T) {
- t.Parallel()
req, _ := http.NewRequest("GET", "/auth/login", nil)
resp := httptest.NewRecorder()
loginHandler(newContext(t), resp, req)
@@ -59,7 +58,6 @@ func TestLoginHandler(t *testing.T) {
}
func TestCallbackHandler(t *testing.T) {
- t.Parallel()
req, _ := http.NewRequest("GET", "/auth/callback", nil)
req.Form = url.Values{"state": []string{"state"}, "code": []string{"abcdef"}}
resp := httptest.NewRecorder()
@@ -72,7 +70,6 @@ func TestCallbackHandler(t *testing.T) {
}
func TestRootHandler(t *testing.T) {
- t.Parallel()
req, _ := http.NewRequest("GET", "/", nil)
resp := httptest.NewRecorder()
ctx := newContext(t)
@@ -88,7 +85,6 @@ func TestRootHandler(t *testing.T) {
}
func TestRootHandlerNoSession(t *testing.T) {
- t.Parallel()
req, _ := http.NewRequest("GET", "/", nil)
resp := httptest.NewRecorder()
ctx := newContext(t)
@@ -99,7 +95,6 @@ func TestRootHandlerNoSession(t *testing.T) {
}
func TestSignRevoke(t *testing.T) {
- t.Parallel()
s, _ := json.Marshal(&lib.SignRequest{
Key: string(testdata.Pub),
ValidUntil: time.Now().UTC().Add(1 * time.Hour),
diff --git a/server/signer/signer_test.go b/server/signer/signer_test.go
index 3bbdbf9..726a69b 100644
--- a/server/signer/signer_test.go
+++ b/server/signer/signer_test.go
@@ -25,7 +25,6 @@ var (
)
func TestCert(t *testing.T) {
- t.Parallel()
r := &lib.SignRequest{
Key: string(testdata.Pub),
ValidUntil: time.Now().Add(1 * time.Hour),
@@ -54,7 +53,6 @@ func TestCert(t *testing.T) {
}
func TestRevocationList(t *testing.T) {
- t.Parallel()
r := &lib.SignRequest{
Key: string(testdata.Pub),
ValidUntil: time.Now().Add(1 * time.Hour),
@@ -82,7 +80,6 @@ func TestRevocationList(t *testing.T) {
}
func TestPermissions(t *testing.T) {
- t.Parallel()
r := &lib.SignRequest{
Key: string(testdata.Pub),
ValidUntil: time.Now().Add(1 * time.Hour),
diff --git a/server/store/store_test.go b/server/store/store_test.go
index 71a74c0..9a8a4be 100644
--- a/server/store/store_test.go
+++ b/server/store/store_test.go
@@ -20,7 +20,6 @@ import (
)
func TestParseCertificate(t *testing.T) {
- t.Parallel()
a := assert.New(t)
now := uint64(time.Now().Unix())
r, _ := rsa.GenerateKey(rand.Reader, 1024)
@@ -104,13 +103,11 @@ 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()
if os.Getenv("MYSQL_TEST") == "" {
t.Skip("No MYSQL_TEST environment variable")
}
@@ -133,7 +130,6 @@ func TestMySQLStore(t *testing.T) {
}
func TestSQLiteStore(t *testing.T) {
- t.Parallel()
f, err := ioutil.TempFile("", "sqlite_test_db")
if err != nil {
t.Error(err)