Reduce memory usage of tests
This commit is contained in:
parent
b5cb732da0
commit
741be2b08f
@ -192,9 +192,9 @@ TEST_F(DataTest, Inequality_DifferentLastByte) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
//Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks.
|
|
||||||
TEST_F(DataTest, LargesizeSize) {
|
TEST_F(DataTest, LargesizeSize) {
|
||||||
uint64_t size = 10L*1024*1024*1024;
|
//Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks.
|
||||||
|
uint64_t size = 4.5L*1024*1024*1024;
|
||||||
Data data(size);
|
Data data(size);
|
||||||
EXPECT_EQ(size, data.size());
|
EXPECT_EQ(size, data.size());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user