|
@@ -237,7 +237,7 @@ func (s *DockerDaemonSuite) TestDaemonRestartWithIncreasedBasesize(c *testing.T)
|
|
var newBasesizeBytes int64 = 53687091200 // 50GB in bytes
|
|
var newBasesizeBytes int64 = 53687091200 // 50GB in bytes
|
|
|
|
|
|
if newBasesizeBytes < oldBasesizeBytes {
|
|
if newBasesizeBytes < oldBasesizeBytes {
|
|
- c.Skip(fmt.Sprintf("New base device size (%v) must be greater than (%s)", units.HumanSize(float64(newBasesizeBytes)), units.HumanSize(float64(oldBasesizeBytes))))
|
|
|
|
|
|
+ c.Skipf("New base device size (%v) must be greater than (%s)", units.HumanSize(float64(newBasesizeBytes)), units.HumanSize(float64(oldBasesizeBytes)))
|
|
}
|
|
}
|
|
|
|
|
|
err := s.d.RestartWithError("--storage-opt", fmt.Sprintf("dm.basesize=%d", newBasesizeBytes))
|
|
err := s.d.RestartWithError("--storage-opt", fmt.Sprintf("dm.basesize=%d", newBasesizeBytes))
|