Skip to content

chore: Run smoke test suite in --release mode#592

Merged
AntonyBlakey merged 2 commits intoNomicFoundation:mainfrom
Xanewok:smoke-tests-with-release
Sep 15, 2023
Merged

chore: Run smoke test suite in --release mode#592
AntonyBlakey merged 2 commits intoNomicFoundation:mainfrom
Xanewok:smoke-tests-with-release

Conversation

@Xanewok
Copy link
Copy Markdown
Contributor

@Xanewok Xanewok commented Sep 6, 2023

This cuts down from ETA 3-5 hours down ETA ~15 minutes on the sanctuary-arbitrum dataset on Ryzen 3900X

This cuts down from ETA 3-5 hours down ETA ~15 minutes on the
sanctuary-arbitrum dataset on Ryzen 3900X
@Xanewok Xanewok requested a review from a team as a code owner September 6, 2023 13:06
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 6, 2023

⚠️ No Changeset found

Latest commit: cab4189

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Xanewok added a commit to Xanewok/slang that referenced this pull request Sep 6, 2023

return Command::new("cargo")
.arg("run")
.arg(if self.command == RunCommand::SolidityTestingSmoke {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: not sure if an empty string arg is absorbed/displayed properly. I suggest conditionally adding it:

let mut command = Command::new("cargo").arg("run");

if self.command == RunCommand::SolidityTestingSmoke {
     command = command.flag("--release");
}

return command.arg(....rest....).run();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in cab4189

Copy link
Copy Markdown
Contributor

@OmarTawfik OmarTawfik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! left one suggestion.

@AntonyBlakey AntonyBlakey added this pull request to the merge queue Sep 15, 2023
Merged via the queue into NomicFoundation:main with commit 5e0415e Sep 15, 2023
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