Skip to content

Commit

Permalink
net: Disable KT monitor test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jrose-signal committed Jan 7, 2025
1 parent 76fa0c1 commit cbb93cb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions rust/net/src/keytrans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1020,11 +1020,13 @@ mod test {
assert_matches!(result, Ok( LocalStateUpdate {tree_head, ..}) => assert_ne!(tree_head.tree_size, 0));
}

#[tokio::test]
#[test_case(false, false; "ACI")]
#[test_case(false, true; "ACI + E164")]
#[test_case(true, false; "ACI + Username Hash")]
#[test_case(true, true; "ACI + E164 + Username Hash")]
// Disabled: does not yet account for server state changing between the two requests.
#[allow(dead_code)]
// #[tokio::test]
// #[test_case(false, false; "ACI")]
// #[test_case(false, true; "ACI + E164")]
// #[test_case(true, false; "ACI + Username Hash")]
// #[test_case(true, true; "ACI + E164 + Username Hash")]
async fn monitor_permutations_integration_test(use_e164: bool, use_username_hash: bool) {
if std::env::var("LIBSIGNAL_TESTING_RUN_NONHERMETIC_TESTS").is_err() {
println!("SKIPPED: running integration tests is not enabled");
Expand Down

0 comments on commit cbb93cb

Please sign in to comment.