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

XMLWordPrintableJSON

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

      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
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: