Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1530

Improve error message when using a failpoint under single-threaded tokio

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Currently, using a failpoint in a test requires using the multi-threaded tokio runtime (tokio::test(flavor = "multi_thread")). If that's not specified, the test panics with an unclear error message; ideally we could query for the presence of the runtime and provide a friendlier error message.

            Assignee:
            Unassigned Unassigned
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: