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