From 8332f7cd2e75dbb0e8991ac5ed28da7c7ff047c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 2 Feb 2016 09:48:21 +0100
Subject: Use mmapv1 engine in tests

---
 perl-MongoDB.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/perl-MongoDB.spec b/perl-MongoDB.spec
index 895c052..8a1b29a 100644
--- a/perl-MongoDB.spec
+++ b/perl-MongoDB.spec
@@ -99,7 +99,7 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} 
+
 %check
 mkdir test_db
 mongod --fork --logpath $PWD/mongod.log --pidfilepath $PWD/mongod.pid \
-    --dbpath $PWD/test_db/ || test_rc=$?
+    --dbpath $PWD/test_db/ --storageEngine mmapv1 --smallfiles || test_rc=$?
 if [ -n "$test_rc" ]; then
     printf "Error: Could not start mongod server\n"
     cat mongod.log
@@ -120,6 +120,7 @@ exit $test_rc
 %changelog
 * Tue Feb 02 2016 Petr Pisar <ppi...@redhat.com> - 0.708.4.0-2
 - Print log if server could not been started
+- Use mmapv1 engine in tests (bug #1303846)
 
 * Wed Aug 12 2015 Petr Ĺ abata <con...@redhat.com> - 0.708.4.0-1
 - 0.708.4.0 bump, fix the build
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-MongoDB.git/commit/?h=master&id=8332f7cd2e75dbb0e8991ac5ed28da7c7ff047c2
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to