crypto: Run the time sensitive tests only on linux.
parent
a80aa4c2ad
commit
b982d36303
|
@ -138,7 +138,7 @@ mod test {
|
|||
use crate::ReadOnlyAccount;
|
||||
|
||||
#[tokio::test]
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
#[cfg(target_os = "linux")]
|
||||
async fn expiration() {
|
||||
let settings = EncryptionSettings {
|
||||
rotation_period_msgs: 1,
|
||||
|
|
|
@ -422,7 +422,7 @@ mod test {
|
|||
// This test doesn't run on macos because we're modifying the session
|
||||
// creation time so we can get around the UNWEDGING_INTERVAL.
|
||||
#[async_test]
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
async fn session_unwedging() {
|
||||
let manager = session_manager().await;
|
||||
let bob = bob_account();
|
||||
|
|
Loading…
Reference in New Issue