state_comparer

command
v0.0.173 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

Compare States

Compares TestGrid states of the same names between two directories. Useful for validating that changes to the updater or other code don't unexpectedly change the resulting state protos.

Running

You should have two directories set up: one each for the states you want to compare (e.g. "/tmp/cmp/first" and "/tmp/cmp/second")

# Example basic run:
bazelisk run //cmd/state_comparer -- --first="/tmp/cmp/first/" --second="/tmp/cmp/second/" --diff-ratio-ok=0.3

# Example detailed/advanced run:
bazelisk run //cmd/state_comparer -- --first="/tmp/tgcmp/first/" --second="/tmp/tgcmp/second/" --diff-ratio-ok=0.3 --test-group-url="http://testgrid-canary/q/testgroup/" --config="/tmp/cmp/config" --debug

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL