From 8866ea81255ff7e7cadaaed9980789b6e184e827 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 25 Jun 2020 09:48:04 +0200 Subject: [PATCH] Fix FTBFS / Increase the over-estimation for sparse files --- tests/ldb_kv_ops_test.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/ldb_kv_ops_test.c b/tests/ldb_kv_ops_test.c index 30adebf..9db2212 100644 --- a/tests/ldb_kv_ops_test.c +++ b/tests/ldb_kv_ops_test.c @@ -1717,8 +1717,11 @@ static void test_get_size(void **state) /* * The tdb implementation of get_size over estimates for sparse files * which is perfectly acceptable for it's intended use. + * mipsel, ia64: 9994 + * ppc64el, powerpc, ppc64: 13369 + * sparc64: 5046 */ - assert_in_range(size, 2500, 5000); + assert_in_range(size, 2500, 15000); #endif /* @@ -1746,8 +1749,11 @@ static void test_get_size(void **state) /* * The tdb implementation of get_size over estimates for sparse files * which is perfectly acceptable for it's intended use. + * mipsel, ia64: 9994 + * ppc64el, powerpc, ppc64: 13369 + * sparc64: 5046 */ - assert_in_range(size, 2500, 5000); + assert_in_range(size, 2500, 15000); #endif talloc_free(tmp_ctx); } -- 2.26.2