summaryrefslogtreecommitdiff
path: root/tests/src/jmap/sieve_script.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/jmap/sieve_script.rs')
-rw-r--r--tests/src/jmap/sieve_script.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/jmap/sieve_script.rs b/tests/src/jmap/sieve_script.rs
index 74b8c81c..7a919700 100644
--- a/tests/src/jmap/sieve_script.rs
+++ b/tests/src/jmap/sieve_script.rs
@@ -375,6 +375,7 @@ pub async fn test(server: Arc<JMAP>, client: &mut Client) {
.sieve_script_create("test_notify_fcc", get_script("test_notify_fcc"), true)
.await
.unwrap();
+ smtp_settings.lock().do_stop = true;
lmtp.ingest(
"bill@remote.org",
&["jdoe@example.com"],
@@ -452,8 +453,6 @@ pub async fn test(server: Arc<JMAP>, client: &mut Client) {
panic!("Email {:?} not found in: {:#?}", subject, emails);
}
- smtp_settings.lock().do_stop = true;
-
// Remove test data
client.sieve_script_deactivate().await.unwrap();
let mut request = client.build();