From 48070274ee93bf0d4cef7486a4ec19c4d97ac9ce Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sat, 12 Oct 2013 15:06:53 -0700 Subject: [PATCH] Change the base filesystem size in unit tests --- runtime_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime_test.go b/runtime_test.go index 73697137bc..ba1947f4ae 100644 --- a/runtime_test.go +++ b/runtime_test.go @@ -127,6 +127,9 @@ func cleanupDevMapper() { func init() { os.Setenv("TEST", "1") + os.Setenv("DOCKER_LOOPBACK_DATA_SIZE", "209715200") // 200MB + os.Setenv("DOCKER_LOOPBACK_META_SIZE", "104857600") // 100MB + os.Setenv("DOCKER_BASE_FS_SIZE", "157286400") // 150MB // Hack to run sys init during unit testing if selfPath := utils.SelfPath(); selfPath == "/sbin/init" || selfPath == "/.dockerinit" {