diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 8ec904d..579d1b3 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -108,7 +108,7 @@ fn create_test_options>( } fn sleep_duration() -> Duration { - if env!("CI") == "true" { + if matches!(option_env!("CI"), Some("true")) { Duration::from_secs(10) } else { Duration::from_millis(500)