8000 e2e: `run-multiple.sh` script should save the dump of failed tests · Issue #4115 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
e2e: run-multiple.sh script should save the dump of failed tests #4115
Open
@cason

Description

@cason

This is a helper script to run multiple executions, one per manifest.

If an execution fails, it dumps some data to the standard output and then cleans the directory with the actual execution data:

if ! ./build/runner -f "$MANIFEST"; then
echo "==> Testnet $MANIFEST failed, dumping manifest..."
cat "$MANIFEST"
echo "==> Dumping container logs for $MANIFEST..."
./build/runner -f "$MANIFEST" logs
echo "==> Cleaning up failed testnet $MANIFEST..."
./build/runner -f "$MANIFEST" cleanup
FAILED+=("$MANIFEST")
fi

It should instead create a temporary directory with the information of the failed execution, containing:

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2eRelated to our end-to-end testsenhancementNew feature or requesttestingrelated to unit testing in general

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0