diff --git a/tests/integration/test_extreme_deduplication/configs/conf.d/merge_tree.xml b/tests/integration/test_extreme_deduplication/configs/conf.d/merge_tree.xml
index d9062e8da20..6f1d05d125e 100644
--- a/tests/integration/test_extreme_deduplication/configs/conf.d/merge_tree.xml
+++ b/tests/integration/test_extreme_deduplication/configs/conf.d/merge_tree.xml
@@ -4,6 +4,7 @@
1
1
0
+ 1
1
diff --git a/tests/integration/test_extreme_deduplication/test.py b/tests/integration/test_extreme_deduplication/test.py
index 71f783d37c9..9604809f0b5 100644
--- a/tests/integration/test_extreme_deduplication/test.py
+++ b/tests/integration/test_extreme_deduplication/test.py
@@ -50,7 +50,7 @@ def test_deduplication_window_in_seconds(started_cluster):
assert TSV(node.query("SELECT count() FROM simple")) == TSV("2\n")
# wait clean thread
- time.sleep(2)
+ time.sleep(5)
assert (
TSV.toMat(