Skip to content

Commit

Permalink
kv/kvserver/uncertainty: remove observedts_test target from bazel bui…
Browse files Browse the repository at this point in the history
…ld file

The test files have been deleted. Leaving observedts_test
target in build file fails CI for some PRs :(
  • Loading branch information
chengxiong-ruan committed Dec 1, 2021
1 parent 6c3dcb8 commit 547bfce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion pkg/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ ALL_TESTS = [
"//pkg/kv/kvserver/tscache:tscache_test",
"//pkg/kv/kvserver/txnrecovery:txnrecovery_test",
"//pkg/kv/kvserver/txnwait:txnwait_test",
"//pkg/kv/kvserver/uncertainty:observedts_test",
"//pkg/kv/kvserver/uncertainty:uncertainty_test",
"//pkg/kv/kvserver:kvserver_test",
"//pkg/kv:kv_test",
Expand Down
33 changes: 0 additions & 33 deletions pkg/kv/kvserver/uncertainty/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,38 +1,5 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
name = "observedts",
srcs = [
"doc.go",
"limit.go",
"uncertainty.go",
],
importpath = "github.com/cockroachdb/cockroach/pkg/kv/kvserver/observedts",
visibility = ["//visibility:public"],
deps = [
"//pkg/kv/kvserver/kvserverpb",
"//pkg/roachpb:with-mocks",
"//pkg/util/hlc",
],
)

go_test(
name = "observedts_test",
size = "small",
srcs = [
"limit_test.go",
"uncertainty_test.go",
],
embed = [":observedts"],
deps = [
"//pkg/kv/kvserver/kvserverpb",
"//pkg/roachpb:with-mocks",
"//pkg/util/hlc",
"//pkg/util/leaktest",
"@com_github_stretchr_testify//require",
],
)

go_library(
name = "uncertainty",
srcs = [
Expand Down

0 comments on commit 547bfce

Please sign in to comment.