snapuserd: Reduce size of COWs in tests.

This greatly reduces the runtime of snapuserd_test, from 4 minutes to
about 1.5 minutes.

Bug: 269361087
Test: snapuserd_test
Change-Id: Ic18443d4e4318f6ef6adadeabd47ccceeeb19b6f
This commit is contained in:
David Anderson 2023-08-07 19:58:55 -07:00
parent 6aec095d68
commit 1333d87bfe

View file

@ -72,7 +72,7 @@ class SnapuserdTestBase : public ::testing::Test {
std::unique_ptr<ICowWriter> CreateCowDeviceInternal();
std::unique_ptr<ITestHarness> harness_;
size_t size_ = 100_MiB;
size_t size_ = 10_MiB;
int total_base_size_ = 0;
std::string system_device_ctrl_name_;
std::string system_device_name_;