From 953eb90e870abb053eda0a72b1310293ad68c7bb Mon Sep 17 00:00:00 2001 From: l Date: Mon, 7 Apr 2025 14:43:24 +0000 Subject: [PATCH] test: remove flaky key::tests::test_load_self_existing test (#6763) The test works most of the time, but essentially tests that splitting the public key from a private key generates the same result. However, it fails if two signatures are generated at different seconds. Closes #6762 --- src/key.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/key.rs b/src/key.rs index adcba37c9..29a2a5d9d 100644 --- a/src/key.rs +++ b/src/key.rs @@ -612,16 +612,6 @@ i8pcjGO+IZffvyZJVRWfVooBJmWWbPB1pueo3tx8w3+fcuzpxz+RLFKaPyqXO+dD assert_eq!(key, key2); } - #[tokio::test(flavor = "multi_thread", worker_threads = 2)] - async fn test_load_self_existing() { - let alice = alice_keypair(); - let t = TestContext::new_alice().await; - let pubkey = load_self_public_key(&t).await.unwrap(); - assert_eq!(alice.public, pubkey); - let seckey = load_self_secret_key(&t).await.unwrap(); - assert_eq!(alice.secret, seckey); - } - #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_load_self_generate_public() { let t = TestContext::new().await;