-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allow attributes after #[timeout] #28
Allow attributes after #[timeout] #28
Conversation
Ah, I guess this only fixes the issue with |
Actually, looks like it has never worked with #[tokio::test]
#[test_case(10)]
async fn timeout(arg: i32) {
assert!(arg != 12);
}
and #[test_case(10)]
#[tokio::test]
async fn timeout(arg: i32) {
assert!(arg != 12);
}
|
@zeenix You said that this used to work for you. Can you give a working example with |
Sure, the failing pipeline I pointed to, was of the (unmerged) PR that upgrades tokio. All other jobs have been passing. You can also just checkout busd and run |
I cloned the repository you linked and searched for the string "test_case", but there are no results. I can only find uses of |
Oh |
Are you able to verify that this PR fixes your issue? See: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html |
I am happy to report that it does. :)
|
We decided to bump minimum required version of tokio to 1.34. Currently, the newest tokio version is 1.38, but some of the integration tests are eaten when testing with this specific verstion of tokio. Which is why, as of now, we decided not to support this version. The issue with version 1.38 is related to #[tokio::test] and #[ntest::timeout] attributes. Refs: - tokio-rs/tokio#6610 - becheran/ntest#28 - tokio-rs/tokio#6497
We decided to bump minimum required version of tokio to 1.34. Currently, the newest tokio version is 1.38, but some of the integration tests are eaten when testing with this specific verstion of tokio. Which is why, as of now, we decided not to support this version. The issue with version 1.38 is related to #[tokio::test] and #[ntest::timeout] attributes. Refs: - tokio-rs/tokio#6610 - becheran/ntest#28 - tokio-rs/tokio#6497
We decided to bump minimum required version of tokio to 1.34. Currently, the newest tokio version is 1.38, but some of the integration tests are eaten when testing with this specific verstion of tokio. Which is why, as of now, we decided not to support this version. The issue with version 1.38 is related to #[tokio::test] and #[ntest::timeout] attributes. Refs: - tokio-rs/tokio#6610 - becheran/ntest#28 - tokio-rs/tokio#6497
We decided to bump minimum required version of tokio to 1.34. Currently, the newest tokio version is 1.38, but some of the integration tests are eaten when testing with this specific verstion of tokio. Which is why, as of now, we decided not to support this version. The issue with version 1.38 is related to #[tokio::test] and #[ntest::timeout] attributes. Refs: - tokio-rs/tokio#6610 - becheran/ntest#28 - tokio-rs/tokio#6497
I hope this wasn't forgotten. I want to use the latest tokio. |
Sry for letting you wait. Looks good to me. Thanks for adding tests as well. Will release a new version ASAP. |
Fix is part of version |
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3 Also bumps the itertools + base64 versions, since they are trivial upgrades
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3
This is fine since tokio-rs/tokio#6610 is resolved via becheran/ntest#28 which has now been released in ntest 0.9.3
Closes: #27
Closes: tokio-rs/tokio#6610