mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Fix the redis test after the image has been changed. The new image has a different output format, so update the report function to accomodate. This also means we can collect more metrics easily. Also use the redis-cli to check that the server is serving instead of wget --spider. PiperOrigin-RevId: 558181384
40 lines
724 B
Python
40 lines
724 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "tools",
|
|
testonly = 1,
|
|
srcs = [
|
|
"ab.go",
|
|
"fio.go",
|
|
"hackbench.go",
|
|
"hey.go",
|
|
"iperf.go",
|
|
"meminfo.go",
|
|
"parser_util.go",
|
|
"redis.go",
|
|
"rubydev.go",
|
|
"sysbench.go",
|
|
"tools.go",
|
|
],
|
|
visibility = ["//:sandbox"],
|
|
)
|
|
|
|
go_test(
|
|
name = "tools_test",
|
|
size = "small",
|
|
srcs = [
|
|
"ab_test.go",
|
|
"fio_test.go",
|
|
"hey_test.go",
|
|
"iperf_test.go",
|
|
"meminfo_test.go",
|
|
"sysbench_test.go",
|
|
],
|
|
library = ":tools",
|
|
)
|