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

Tokio test mock wait #5554

Merged
merged 6 commits into from
Mar 19, 2023
Merged

Commits on Mar 17, 2023

  1. test(tokio-test): add tests for Action::Wait in Mock

    - wait(): test timing the read() test with an additional `Wait` action
    - multiple_wait(): test timing the read() test with two additional `Wait` actions
    
    ! multiple_wait() fails
    devensiv committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    9df408c View commit details
    Browse the repository at this point in the history
  2. fix(tokio-test): makes subsequent wait()s work on Builder

    Clear `waiting` after completion of the current wait allowing subsequent waits to be registered
    before they were being discarded
    devensiv committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    1d7aafb View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. refactor: fix import style

    Co-authored-by: Alice Ryhl <[email protected]>
    devensiv and Darksonn authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    ad90543 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1edf88 View commit details
    Browse the repository at this point in the history
  3. fix: rustfmt

    devensiv committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    7e19313 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93f2b38 View commit details
    Browse the repository at this point in the history