Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Slack Report for Daily Blockchain Tests #1676

Open
DavePearce opened this issue Dec 21, 2024 · 0 comments · May be fixed by #1677
Open

Improve Slack Report for Daily Blockchain Tests #1676

DavePearce opened this issue Dec 21, 2024 · 0 comments · May be fixed by #1677
Assignees
Labels

Comments

@DavePearce
Copy link
Collaborator

The goal is to extract the success / failed / aborted count and include that in the slack message. Something based on this can do it:

file="tmp/local/BlockchainReferenceTestOutcome.json"
success=$(cat $file | sed -e "s/.*\"successCounter\":\([0-9]*\).*/\1/")
failed=$(cat $file | sed -e "s/.*\"failedCounter\":\([0-9]*\).*/\1/")
aborted=$(cat $file | sed -e "s/.*\"abortedCounter\":\([0-9]*\).*/\1/")

echo "SUCCESS=$success"
echo "FAILED=$failed"
echo "ABORTED=$aborted
@DavePearce DavePearce self-assigned this Dec 21, 2024
@DavePearce DavePearce linked a pull request Dec 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant