mirror of
https://github.com/aya-rs/aya.git
synced 2026-05-26 11:24:23 +02:00
f10988d56a
test-case relies on cooperating attribute macros when wrapping generated parameterized tests. Stacking it with test_log can register each generated case twice, so passing tests may run more than once and mask order-sensitive or flaky behavior. Move the parameterized tests to rstest, but do not rely on rstest's implicit test-attribute detection. rstest treats attributes whose path ends in test as test attributes; that has its own failure mode if a non-test decorator matches, potentially producing cases that do not run as intended. Use explicit #[test_attr(...)] wrappers for every rstest case that needs test_log or tokio, so generated tests get the intended harness attribute instead of depending on implicit detection. Refs: #1573.