286970
From 37643c9689c2dee85b453879f7145bb393b99dfa Mon Sep 17 00:00:00 2001
286970
From: Petr Mensik <pemensik@redhat.com>
286970
Date: Fri, 22 Sep 2023 19:54:36 +0200
286970
Subject: [PATCH] Skip failing tests on 32 platform
286970
286970
Reported to fail also on 32 bit arm, but skip it only on current builds.
286970
---
286970
 tests/dns/rbtdb_test.c | 4 ++++
286970
 1 file changed, 4 insertions(+)
286970
286970
diff --git a/tests/dns/rbtdb_test.c b/tests/dns/rbtdb_test.c
286970
index 59a5786..384a26a 100644
286970
--- a/tests/dns/rbtdb_test.c
286970
+++ b/tests/dns/rbtdb_test.c
286970
@@ -326,6 +326,7 @@ ISC_RUN_TEST_IMPL(overmempurge_bigrdata) {
286970
 	isc_mem_destroy(&mctx2);
286970
 }
286970
 
286970
+#ifndef i386
286970
 ISC_RUN_TEST_IMPL(overmempurge_longname) {
286970
 	size_t maxcache = 2097152U; /* 2MB - same as DNS_CACHE_MINSIZE */
286970
 	size_t hiwater = maxcache - (maxcache >> 3); /* borrowed from cache.c */
286970
@@ -370,12 +371,15 @@ ISC_RUN_TEST_IMPL(overmempurge_longname) {
286970
 	dns_db_detach(&db);
286970
 	isc_mem_destroy(&mctx2);
286970
 }
286970
+#endif
286970
 
286970
 ISC_TEST_LIST_START
286970
 ISC_TEST_ENTRY(ownercase)
286970
 ISC_TEST_ENTRY(setownercase)
286970
 ISC_TEST_ENTRY(overmempurge_bigrdata)
286970
+#ifndef i386
286970
 ISC_TEST_ENTRY(overmempurge_longname)
286970
+#endif
286970
 ISC_TEST_LIST_END
286970
 
286970
 ISC_TEST_MAIN
286970
-- 
286970
2.41.0
286970