Skip to content

Commit

Permalink
Remove tokio runtime from the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Nov 28, 2024
1 parent 9cabd63 commit b841272
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 90 deletions.
84 changes: 0 additions & 84 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ givre = { path = "../givre", features = ["all-ciphersuites", "cggmp21-keygen", "

generic-tests = "0.1"
test-case = "3.3"
rand_dev = "0.1"

rand = "0.8"
rand_core = "0.6"
rand_dev = "0.1"

hex = "0.4"
hex-literal = "0.4"

tokio = { version = "1", features = ["macros", "rt"]}
futures = "0.3"
round-based = { workspace = true, features = ["sim"] }

ed25519 = { package = "ed25519-dalek", version = "2.1" }
Expand Down
5 changes: 2 additions & 3 deletions tests/tests/it/interactive.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[generic_tests::define(attrs(test_case::case, tokio::test))]
#[generic_tests::define(attrs(test_case::case))]
mod generic {
use anyhow::Context;
use givre::Ciphersuite;
Expand All @@ -11,8 +11,7 @@ mod generic {
#[test_case::case(Some(3), 5; "t3n5")]
#[test_case::case(Some(5), 5; "t5n5")]
#[test_case::case(None, 5; "n5")]
#[tokio::test]
async fn keygen_sign<C: Ciphersuite + ExternalVerifier>(t: Option<u16>, n: u16) {
fn keygen_sign<C: Ciphersuite + ExternalVerifier>(t: Option<u16>, n: u16) {
let mut rng = rand_dev::DevRng::new();

// --- Keygen
Expand Down

0 comments on commit b841272

Please sign in to comment.