File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -248,8 +248,11 @@ func TestGroupSyncTable(t *testing.T) {
248
248
249
249
for _ , tc := range testCases {
250
250
tc := tc
251
+ // The final test, "AllTogether", cannot run in parallel.
252
+ // These tests are nearly instant using the memory db, so
253
+ // this is still fast without being in parallel.
254
+ //nolint:paralleltest, tparallel
251
255
t .Run (tc .Name , func (t * testing.T ) {
252
- t .Parallel ()
253
256
254
257
db , _ := dbtestutil .NewDB (t )
255
258
manager := runtimeconfig .NewManager ()
@@ -289,8 +292,8 @@ func TestGroupSyncTable(t *testing.T) {
289
292
// deployment. This tests all organizations being synced together.
290
293
// The reason we do them individually, is that it is much easier to
291
294
// debug a single test case.
295
+ //nolint:paralleltest, tparallel // This should run after all the individual tests
292
296
t .Run ("AllTogether" , func (t * testing.T ) {
293
- t .Parallel ()
294
297
295
298
db , _ := dbtestutil .NewDB (t )
296
299
manager := runtimeconfig .NewManager ()
You can’t perform that action at this time.
0 commit comments