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

refactor: improve compilation time for neard tests #4263

Closed
wants to merge 3 commits into from

Commits on Apr 30, 2021

  1. refactor: improve compilation time for neard tests

    See near#4027 for discussion why this layout is better. TL;DR is that we
    don't re-link neard repeatedly.
    
    As a cherry on top, we now get to proprely share NodeCluster code
    between the tests, instead of it being compiled afresh for each test.
    matklad committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    3e5399c View commit details
    Browse the repository at this point in the history
  2. fix: prevent interference between tests due to runtime config adjustment

    Implementation wise, replace a global lazy_static_state with local
    once_cell state. As a bonus, that gets rid of a Mutex
    matklad committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    d8d0fd8 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Configuration menu
    Copy the full SHA
    91bfcc9 View commit details
    Browse the repository at this point in the history