Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: activate tparallel linter (#15263)

p0ny137dc19bf837
diff --git a/.golangci.yaml b/.golangci.yaml
index 61fd1e1fce..9cf6500e7f 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -18,6 +18,7 @@ linters:
- mirror
- bodyclose
- exhaustive
+ - tparallel
# golangci-lint run --exclude="Rollback,logger.Sync,pgInstance.Stop"
issues:
diff --git a/backend/tests/grouping_change_test.go b/backend/tests/grouping_change_test.go
index ba264b0b18..c1a8eab54b 100644
--- a/backend/tests/grouping_change_test.go
+++ b/backend/tests/grouping_change_test.go
@@ -19,6 +19,7 @@ import (
// 2. The database group is then created with the specified expr.
// 3. The results obtained are compared with the results given in prepareInstance and they should be consistent.
func TestCreateDatabaseGroup(t *testing.T) {
+ t.Parallel()
type testCasePrepareInstance struct {
instanceTitle string
matchedDatabasesName map[string]any
diff --git a/backend/tests/vcs_test.go b/backend/tests/vcs_test.go
index 5169ebf6a6..f73aced13d 100644
--- a/backend/tests/vcs_test.go
+++ b/backend/tests/vcs_test.go
@@ -22,6 +22,7 @@ import (
const baseDirectory = "/bbtest"
func TestVCS(t *testing.T) {
+ t.Parallel()
branchName := "feature/foo"
pullRequestFiles := []*vcs.PullRequestFile{
{Path: "bbtest/0001_😊create_table_book1.sql"},