diff --git a/esx_service/utils/kvESX.py b/esx_service/utils/kvESX.py index 2b5da072f..f1124ac04 100644 --- a/esx_service/utils/kvESX.py +++ b/esx_service/utils/kvESX.py @@ -279,6 +279,8 @@ def load(volpath): try: return json.loads(kv_str) except ValueError: + # Adding this log for DEBUG + logging.warning("kv_str from meta file is %s ", kv_str) logging.exception("Failed to decode meta-data for %s", volpath) return None diff --git a/tests/e2e/volume_access_test.go b/tests/e2e/volume_access_test.go index 088d9ad66..424063f33 100644 --- a/tests/e2e/volume_access_test.go +++ b/tests/e2e/volume_access_test.go @@ -15,7 +15,7 @@ // The goal of this test suite is to verify read/write consistency on volumes // in accordance with the access updates on the volume -// +build runonce +// +build runalways package e2e diff --git a/tests/e2e/vsan_test.go b/tests/e2e/vsan_test.go index 45a0cb2a3..357cec40b 100644 --- a/tests/e2e/vsan_test.go +++ b/tests/e2e/vsan_test.go @@ -57,6 +57,10 @@ func (s *VsanTestSuite) SetUpSuite(c *C) { } } +func (s *VsanTestSuite) SetUpTest(c *C) { + s.policyList = []string{} +} + func (s *VsanTestSuite) TearDownTest(c *C) { if s.volumeName != "" { out, err := dockercli.DeleteVolume(s.config.DockerHosts[0], s.volumeName)