diff --git a/account_test.go b/account_test.go index 8434f5b..1d93a65 100644 --- a/account_test.go +++ b/account_test.go @@ -8,6 +8,7 @@ import ( ) func TestAccount(t *testing.T) { + t.Parallel() { ts := &TestSuite{} diff --git a/api_test.go b/api_test.go index 1bb23af..65518f8 100644 --- a/api_test.go +++ b/api_test.go @@ -10,6 +10,7 @@ import ( ) func TestAPI(t *testing.T) { + t.Parallel() { // Registration as existing player not allowed ts := &TestSuite{} diff --git a/auth_test.go b/auth_test.go index ec646a0..b4bd655 100644 --- a/auth_test.go +++ b/auth_test.go @@ -8,6 +8,7 @@ import ( ) func TestAuth(t *testing.T) { + t.Parallel() { ts := &TestSuite{} diff --git a/authlib_injector_test.go b/authlib_injector_test.go index d97bea5..7eb770f 100644 --- a/authlib_injector_test.go +++ b/authlib_injector_test.go @@ -12,6 +12,7 @@ const FALLBACK_SKIN_DOMAIN_A = "a.example.com" const FALLBACK_SKIN_DOMAIN_B = "b.example.com" func TestAuthlibInjector(t *testing.T) { + t.Parallel() // Just check that AuthlibInjectorRoot works. // authlib-injector also expects a X-Authlib-Injector-API-Location header // on the authserver and sessionserver routes that it uses; those are diff --git a/config_test.go b/config_test.go index 4be8955..a5f85a6 100644 --- a/config_test.go +++ b/config_test.go @@ -15,6 +15,7 @@ func configTestConfig(stateDirectory string) *Config { } func TestConfig(t *testing.T) { + t.Parallel() sd := Unwrap(os.MkdirTemp("", "tmp")) defer os.RemoveAll(sd) diff --git a/front_test.go b/front_test.go index 62821ae..7e2194e 100644 --- a/front_test.go +++ b/front_test.go @@ -132,6 +132,7 @@ func (ts *TestSuite) loginShouldFail(t *testing.T, rec *httptest.ResponseRecorde } func TestFront(t *testing.T) { + t.Parallel() { // Registration as existing player not allowed ts := &TestSuite{} diff --git a/services_test.go b/services_test.go index 50e5576..f8cde48 100644 --- a/services_test.go +++ b/services_test.go @@ -18,6 +18,7 @@ import ( const SERVICES_EXISTING_USERNAME = "ExistingUser" func TestServices(t *testing.T) { + t.Parallel() { ts := &TestSuite{} diff --git a/session_test.go b/session_test.go index 911608c..36fe105 100644 --- a/session_test.go +++ b/session_test.go @@ -8,6 +8,7 @@ import ( ) func TestSession(t *testing.T) { + t.Parallel() { ts := &TestSuite{}