Skip to content

Commit ac7399a

Browse files
committed
test: do not run memory race test in parallel
1 parent 0a26eee commit ac7399a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

coderd/idpsync/role_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,11 @@ func TestRoleSyncTable(t *testing.T) {
190190

191191
for _, tc := range testCases {
192192
tc := tc
193+
// The final test, "AllTogether", cannot run in parallel.
194+
// These tests are nearly instant using the memory db, so
195+
// this is still fast without being in parallel.
196+
//nolint:paralleltest, tparallel
193197
t.Run(tc.Name, func(t *testing.T) {
194-
t.Parallel()
195-
196198
db, _ := dbtestutil.NewDB(t)
197199
manager := runtimeconfig.NewManager()
198200
s := idpsync.NewAGPLSync(slogtest.Make(t, &slogtest.Options{

0 commit comments

Comments
 (0)