Merge pull request #8798 from Jenkins-J/blockfile-test-fix-rebase

Modify loopback size
This commit is contained in:
Kazuyoshi Kato
2023-07-10 13:46:38 -07:00
committed by GitHub

View File

@@ -36,7 +36,7 @@ func setupSnapshotter(t *testing.T) ([]Opt, error) {
loopbackSize := int64(8 << 20) // 8 MB loopbackSize := int64(8 << 20) // 8 MB
if os.Getpagesize() > 4096 { if os.Getpagesize() > 4096 {
loopbackSize = int64(650 << 20) // 650 MB loopbackSize = int64(16 << 20) // 16 MB
} }
scratch := filepath.Join(t.TempDir(), "scratch") scratch := filepath.Join(t.TempDir(), "scratch")