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
commit f1d2868785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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