mirror of
https://github.com/coder/coder.git
synced 2025-03-14 10:09:57 +00:00
exclude system user db tests from non-linux OSs
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
This commit is contained in:
@ -5,6 +5,7 @@ import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"runtime"
|
||||
"slices"
|
||||
"strings"
|
||||
"testing"
|
||||
@ -2423,6 +2424,10 @@ func TestSystemUserBehaviour(t *testing.T) {
|
||||
// Setup.
|
||||
t.Parallel()
|
||||
|
||||
if runtime.GOOS != "linux" {
|
||||
t.Skip("skipping because non-linux platforms are tricky to run the mock db container on, and there's no platform-dependence on these tests")
|
||||
}
|
||||
|
||||
ctx := testutil.Context(t, testutil.WaitLong)
|
||||
|
||||
sqlDB := testSQLDB(t)
|
||||
|
Reference in New Issue
Block a user