Reduce memory usage of test cases to make it run on travis correctly

This commit is contained in:
Sebastian Messmer 2015-11-27 20:59:11 +01:00
parent 1222cd8de6
commit 5eab16b360
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ using namespace fspp::fuse;
class FuseReadErrorTest: public FuseReadTest, public WithParamInterface<int> { class FuseReadErrorTest: public FuseReadTest, public WithParamInterface<int> {
public: public:
size_t FILESIZE = 1024*1024*1024; size_t FILESIZE = 64*1024*1024;
size_t READCOUNT = 512*1024*1024; size_t READCOUNT = 32*1024*1024;
void SetUp() override { void SetUp() override {
//Make the file size big enough that fuse should issue at least two reads //Make the file size big enough that fuse should issue at least two reads

View File

@ -16,8 +16,8 @@ using namespace fspp::fuse;
class FuseWriteErrorTest: public FuseWriteTest, public WithParamInterface<int> { class FuseWriteErrorTest: public FuseWriteTest, public WithParamInterface<int> {
public: public:
size_t FILESIZE = 1024*1024*1024; size_t FILESIZE = 64*1024*1024;
size_t WRITECOUNT = 512*1024*1024; size_t WRITECOUNT = 32*1024*1024;
void SetUp() override { void SetUp() override {
//Make the file size big enough that fuse should issue at least two writes //Make the file size big enough that fuse should issue at least two writes