Skip to content

Commit 953eb90

Browse files
authored
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
1 parent d2803c4 commit 953eb90

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/key.rs

-10
Original file line numberDiff line numberDiff line change
@@ -612,16 +612,6 @@ i8pcjGO+IZffvyZJVRWfVooBJmWWbPB1pueo3tx8w3+fcuzpxz+RLFKaPyqXO+dD
612612
assert_eq!(key, key2);
613613
}
614614

615-
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
616-
async fn test_load_self_existing() {
617-
let alice = alice_keypair();
618-
let t = TestContext::new_alice().await;
619-
let pubkey = load_self_public_key(&t).await.unwrap();
620-
assert_eq!(alice.public, pubkey);
621-
let seckey = load_self_secret_key(&t).await.unwrap();
622-
assert_eq!(alice.secret, seckey);
623-
}
624-
625615
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
626616
async fn test_load_self_generate_public() {
627617
let t = TestContext::new().await;

0 commit comments

Comments
 (0)