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

fix(forge): total duration is not the sum of individual runs #7228

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Feb 24, 2024

Since both individual suites (contracts) and tests can run in parallel, the sum of their individual durations can be different from the actual wall clock time taken executing them

@mattsse mattsse merged commit 17215eb into master Feb 26, 2024
19 checks passed
@mattsse mattsse deleted the dani/fix-test-duration branch February 26, 2024 11:59
zeroXbrock pushed a commit to flashbots/suavex-foundry that referenced this pull request Apr 2, 2024
…-rs#7228)

* fix(forge): total duration is not the sum of individual runs

* updates

* update

* chore: clippy
3esmit added a commit to vacp2p/foundry-template that referenced this pull request Aug 31, 2024
Foundry changed the test command output, changing the "Test result" to "Suite result", causing the command gas-report to stop working.  See foundry-rs/foundry#7228 foundry-rs/foundry@17215eb

Updating the word on the gas-report command fixes the problem.
@3esmit
Copy link

3esmit commented Aug 31, 2024

Any reason for changing the wording of "Test result" to "Suite result"? Please, avoid changing this stuff without any reason, because it might break automated tools. See vacp2p/foundry-template#31

@DaniPopes
Copy link
Member Author

Because it's more correct, please don't rely on an unspecified textual output :^)

0x-r4bbit pushed a commit to vacp2p/foundry-template that referenced this pull request Sep 13, 2024
Foundry changed the test command output, changing the "Test result" to "Suite result", causing the command gas-report to stop working.  See foundry-rs/foundry#7228 foundry-rs/foundry@17215eb

Updating the word on the gas-report command fixes the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants