github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/cmd/github-post/testdata/README (about)

     1  The files in this directory simulate real failure logs from nightly stress runs.
     2  They have been truncated for clarity.
     3  
     4  To regenerate them, run something like the following command:
     5  
     6      $ make stress PKG=./pkg/XXX TESTS=TestXXX 2>&1 | go tool test2json -t > pkg/cmd/github-post/testdata/FILE
     7  
     8  You will likely need to inject a failure into your chosen test ahead of time.
     9  Please remove irrelevant log lines from the test to keep the file size
    10  reasonable. Several dozen kilobytes is a good target.