From 5eab16b3601605ba22fec9cb903ef727bf1768fb Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 27 Nov 2015 20:59:11 +0100 Subject: [PATCH] Reduce memory usage of test cases to make it run on travis correctly --- test/fuse/read/FuseReadErrorTest.cpp | 4 ++-- test/fuse/write/FuseWriteErrorTest.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/fuse/read/FuseReadErrorTest.cpp b/test/fuse/read/FuseReadErrorTest.cpp index 4e53c819..10db3486 100644 --- a/test/fuse/read/FuseReadErrorTest.cpp +++ b/test/fuse/read/FuseReadErrorTest.cpp @@ -16,8 +16,8 @@ using namespace fspp::fuse; class FuseReadErrorTest: public FuseReadTest, public WithParamInterface { public: - size_t FILESIZE = 1024*1024*1024; - size_t READCOUNT = 512*1024*1024; + size_t FILESIZE = 64*1024*1024; + size_t READCOUNT = 32*1024*1024; void SetUp() override { //Make the file size big enough that fuse should issue at least two reads diff --git a/test/fuse/write/FuseWriteErrorTest.cpp b/test/fuse/write/FuseWriteErrorTest.cpp index bce1be24..134dde44 100644 --- a/test/fuse/write/FuseWriteErrorTest.cpp +++ b/test/fuse/write/FuseWriteErrorTest.cpp @@ -16,8 +16,8 @@ using namespace fspp::fuse; class FuseWriteErrorTest: public FuseWriteTest, public WithParamInterface { public: - size_t FILESIZE = 1024*1024*1024; - size_t WRITECOUNT = 512*1024*1024; + size_t FILESIZE = 64*1024*1024; + size_t WRITECOUNT = 32*1024*1024; void SetUp() override { //Make the file size big enough that fuse should issue at least two writes