From 4fac65b20dd5840dd41ad7a02d0fff0edf4be55f Mon Sep 17 00:00:00 2001 From: Patrick Schultz Date: Wed, 29 Nov 2023 17:01:07 -0500 Subject: [PATCH] [query] relax tolerance in local whitening test (#14053) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s a random test, and it seems the current tolerance still allows rare sporadic failures. --- hail/python/test/hail/experimental/test_local_whitening.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hail/python/test/hail/experimental/test_local_whitening.py b/hail/python/test/hail/experimental/test_local_whitening.py index 097d12e5b95..f2e616ff9b8 100644 --- a/hail/python/test/hail/experimental/test_local_whitening.py +++ b/hail/python/test/hail/experimental/test_local_whitening.py @@ -24,7 +24,7 @@ def run_local_whitening_test(vec_size, num_rows, chunk_size, window_size, partit ht = tsm.block_table whitened_hail = np.vstack(ht.aggregate(hl.agg.collect(tsm.block_expr))) whitened_naive = naive_whiten(data.T, window_size) - np.testing.assert_allclose(whitened_hail, whitened_naive, rtol=5e-05) + np.testing.assert_allclose(whitened_hail, whitened_naive, rtol=1e-04) @test_timeout(local=5 * 60, batch=12 * 60) def test_local_whitening():