From 482ef1663fcb83dce7e65369fa87a4bfc199cd5c Mon Sep 17 00:00:00 2001 From: subham sarkar Date: Sat, 27 Mar 2021 20:31:20 +0530 Subject: [PATCH 1/3] .deepsource.toml, tests: fix module path --- .deepsource.toml | 5 ++++- tests/globalkilltest/go.mod | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.deepsource.toml b/.deepsource.toml index ddfffeba4e346..64cb100664e21 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -5,4 +5,7 @@ name = "go" enabled = true [analyzers.meta] - import_paths = ["github.com/pingcap/tidb"] + import_paths = [ + "github.com/pingcap/tidb", + "github.com/pingcap/tidb/tests/globalkilltest" + ] diff --git a/tests/globalkilltest/go.mod b/tests/globalkilltest/go.mod index c879e206adaff..5705bb816f517 100644 --- a/tests/globalkilltest/go.mod +++ b/tests/globalkilltest/go.mod @@ -1,4 +1,4 @@ -module github.com/pingcap/tests/globalkilltest +module github.com/pingcap/tidb/tests/globalkilltest go 1.13 From dfca11403c00ef6ea70d13f7f7c9476d89ecf82f Mon Sep 17 00:00:00 2001 From: subham sarkar Date: Sat, 27 Mar 2021 20:46:44 +0530 Subject: [PATCH 2/3] .deepsource.toml: fix config --- .deepsource.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.deepsource.toml b/.deepsource.toml index 64cb100664e21..791ee47f61b67 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -9,3 +9,4 @@ enabled = true "github.com/pingcap/tidb", "github.com/pingcap/tidb/tests/globalkilltest" ] + import_root = [ "github.com/pingcap/tidb" ] From b0489913f3848b0d3afa8aa76e0068dfcc09b736 Mon Sep 17 00:00:00 2001 From: subham sarkar Date: Sat, 27 Mar 2021 20:47:53 +0530 Subject: [PATCH 3/3] .deepsource.toml: fix config --- .deepsource.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.deepsource.toml b/.deepsource.toml index 791ee47f61b67..8ecc372733fc8 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -9,4 +9,4 @@ enabled = true "github.com/pingcap/tidb", "github.com/pingcap/tidb/tests/globalkilltest" ] - import_root = [ "github.com/pingcap/tidb" ] + import_root = "github.com/pingcap/tidb"