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

namadac epoch-sleep command #1621

Merged
merged 6 commits into from
Jul 22, 2023
Merged

namadac epoch-sleep command #1621

merged 6 commits into from
Jul 22, 2023

Commits on Jun 27, 2023

  1. apps: add namadac epoch-sleep

    Add the epoch-sleep helper, which queries the current epoch and then
    sleeps until the epoch is greater (polling once a second). This can
    replace the multiple namadac invocations used in e2e tests.
    juped committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    89fe260 View commit details
    Browse the repository at this point in the history
  2. tests/e2e: change epoch_sleep to use namadac epoch-sleep

    Instead of manually querying, we now epoch-sleep until the next epoch,
    limiting the number of clients invoked to 1.
    
    Also update the epoch sleep e2e test to check the return value (parsed
    from the output of epoch-sleep).
    juped committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    e7cc5e3 View commit details
    Browse the repository at this point in the history
  3. tests/e2e: replace PoS test epoch waits with epoch-sleeps

    PoS hammered the node as fast as possible with epoch queries in its
    tests to wait for a specified epoch. Instead, epoch-sleep repeatedly
    until the target epoch has been reached.
    
    This could be improved further by adding an --until parameter to
    epoch-sleep.
    juped committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    5c34343 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    532659d View commit details
    Browse the repository at this point in the history
  2. ci/test/e2e: add new test

    tzemanovic authored and juped committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ff692ab View commit details
    Browse the repository at this point in the history
  3. changelog: add #1621

    tzemanovic authored and juped committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    45d0813 View commit details
    Browse the repository at this point in the history