18 lines
411 B
Python
18 lines
411 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "queue",
|
|
srcs = ["queue.go"],
|
|
importpath = "github.com/pingcap/tidb/pkg/util/queue",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "queue_test",
|
|
timeout = "short",
|
|
srcs = ["queue_test.go"],
|
|
embed = [":queue"],
|
|
flaky = True,
|
|
deps = ["@com_github_stretchr_testify//require"],
|
|
)
|