prysm-pulse/endtoend/BUILD.bazel
Ivan Martinez 021d777b5e
Add Anti-Flake test for E2E (#5149)
* Add antiflake test

* Respond to comments

* Comment

* Change issue num
2020-03-21 14:42:51 +08:00

69 lines
2.2 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_test(
name = "go_default_test",
size = "large",
srcs = [
"demo_e2e_test.go",
"endtoend_test.go",
"minimal_antiflake_e2e_test.go",
"minimal_e2e_test.go",
"minimal_slashing_e2e_test.go",
],
args = ["-test.v"],
data = [
"//beacon-chain",
"//validator",
"//slasher",
"@com_github_ethereum_go_ethereum//cmd/geth",
],
embed = [":go_default_library"],
shard_count = 3,
tags = [
"block-network",
"e2e",
"exclusive",
"manual",
"minimal",
],
deps = [
"//endtoend/evaluators:go_default_library",
"//shared/featureconfig:go_default_library",
"//shared/params:go_default_library",
"//shared/testutil:go_default_library",
"@com_github_gogo_protobuf//types:go_default_library",
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
"@org_golang_google_grpc//:go_default_library",
],
)
go_library(
name = "go_default_library",
testonly = True,
srcs = [
"beacon_node.go",
"epochTimer.go",
"eth1.go",
"helpers.go",
"slasher.go",
"validator.go",
],
importpath = "github.com/prysmaticlabs/prysm/endtoend",
visibility = ["//endtoend:__subpackages__"],
deps = [
"//contracts/deposit-contract:go_default_library",
"//endtoend/evaluators:go_default_library",
"//shared/params:go_default_library",
"//shared/roughtime:go_default_library",
"//shared/testutil:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/keystore:go_default_library",
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
],
)