You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
From documentation:
#[sqlx::test] does not recognize any of the control arguments supported by #[tokio::test] as that would have complicated the implementation. If your use case requires any of those, feel free to open an issue.
Is your feature request related to a problem? Please describe.
From documentation:
Thus this issue.
Describe the solution you'd like
#[sqlx::test(tokio_flavor = "multi_thread", tokio_threads = 1)]
Describe alternatives you've considered
#[sqlx::test]
manually in my project without a macroHavingMay not be feasible due to how the macro is structured#[sqlx::test]
not spawn a runtime for non-async functions#[tokio::test]
invocation, since the Tokio macros de-asyncifiy the functions they're used on.Additional context
n/a
The text was updated successfully, but these errors were encountered: