From 4ef914dad32c4dcb8c9e6c96207c2e23de2b15b8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 28 May 2021 17:51:20 +0200 Subject: [PATCH 1/3] Speed up ext/dba/tests/bug78808.phpt This tests takes about 2 minutes on AppVeyor CI, what is super slow. The problem is that we're doing 50,000 inserts of small keys and values instead of only few inserts with large values, what basically has the same effect regarding the mmap size. --- ext/dba/tests/bug78808.phpt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/dba/tests/bug78808.phpt b/ext/dba/tests/bug78808.phpt index 9aa4e22a32207..5804192d67d1b 100644 --- a/ext/dba/tests/bug78808.phpt +++ b/ext/dba/tests/bug78808.phpt @@ -10,9 +10,10 @@ require_once __DIR__ .'/skipif.inc'; Date: Fri, 28 May 2021 17:56:07 +0200 Subject: [PATCH 2/3] speed up more --- ext/dba/tests/bug78808.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/dba/tests/bug78808.phpt b/ext/dba/tests/bug78808.phpt index 5804192d67d1b..7a78586cf3c68 100644 --- a/ext/dba/tests/bug78808.phpt +++ b/ext/dba/tests/bug78808.phpt @@ -10,9 +10,9 @@ require_once __DIR__ .'/skipif.inc'; Date: Fri, 28 May 2021 18:49:03 +0200 Subject: [PATCH 3/3] this is no longer a slow test --- ext/dba/tests/bug78808.phpt | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/dba/tests/bug78808.phpt b/ext/dba/tests/bug78808.phpt index 7a78586cf3c68..382bf891bcee5 100644 --- a/ext/dba/tests/bug78808.phpt +++ b/ext/dba/tests/bug78808.phpt @@ -2,7 +2,6 @@ Bug #78808 ([LMDB] MDB_MAP_FULL: Environment mapsize limit reached) --SKIPIF--