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

Faster tests #999

Merged
merged 4 commits into from
Jan 28, 2022
Merged

Faster tests #999

merged 4 commits into from
Jan 28, 2022

Conversation

kronosapiens
Copy link
Member

@kronosapiens kronosapiens commented Nov 3, 2021

Speed up our test suite by removing redundant deployments & transactions, specifically the redundant network & metacolony deployments at the beginning of test suites (truffle's snapshotting feature appears to bring us back to the correct state automatically).

Non-rigorous profiling suggests that the tests are indeed faster, modulo any endogenous effect caused by Circle's infrastructure. See original and improved build times.

Copy link
Member

@area area left a comment

Choose a reason for hiding this comment

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

Why are we going back to hardcoding all the extension versions in tests?

@kronosapiens
Copy link
Member Author

@area fair, I dropped it since I had dropped the resolver setup. But we can easily grab it from the extension contract itself.

@area area force-pushed the maint/faster-tests branch from 0fa712e to fc3e6ba Compare January 27, 2022 15:05
@area area force-pushed the maint/faster-tests branch from fc3e6ba to 250cbde Compare January 27, 2022 15:32
@area
Copy link
Member

area commented Jan 28, 2022

I'm not convinced a build with these changes is meaningfully faster than a build without but we'll merge anyway.

@area area merged commit 20a3228 into develop Jan 28, 2022
@area area deleted the maint/faster-tests branch January 28, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants