summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/network/BUILD
blob: 472b5c38727afa3f523742622b25ff48aae06138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
load("//tools:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "network",
    testonly = 1,
    srcs = [
        "network.go",
        "static_server.go",
    ],
    deps = [
        "//pkg/test/dockerutil",
        "//test/benchmarks/harness",
        "//test/benchmarks/tools",
    ],
)

go_test(
    name = "network_test",
    size = "large",
    srcs = [
        "httpd_test.go",
        "iperf_test.go",
        "nginx_test.go",
        "node_test.go",
        "ruby_test.go",
    ],
    library = ":network",
    tags = [
        # Requires docker and runsc to be configured before test runs.
        "manual",
        "local",
    ],
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/test/dockerutil",
        "//pkg/test/testutil",
        "//test/benchmarks/harness",
        "//test/benchmarks/tools",
    ],
)