cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [1/2] git commit: updated refs/heads/master to 3ba68a1
Date Sat, 10 Aug 2013 10:49:27 GMT
Updated Branches:
  refs/heads/master b040bf224 -> 3ba68a162


CLOUDSTACK-4225: change to directory where snapshots are mounted

return back to HOME_DIR and unmount the secondary storage

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a4298a57245e224b533d0201e83f7c8)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/472370f8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/472370f8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/472370f8

Branch: refs/heads/master
Commit: 472370f8886060c0bc01f524681a7750c3737892
Parents: b040bf2
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Sat Aug 10 15:42:05 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Sat Aug 10 16:18:59 2013 +0530

----------------------------------------------------------------------
 test/integration/component/test_snapshot_gc.py     | 2 ++
 test/integration/component/test_snapshot_limits.py | 2 ++
 test/integration/component/test_snapshots.py       | 4 ++++
 3 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/472370f8/test/integration/component/test_snapshot_gc.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_snapshot_gc.py b/test/integration/component/test_snapshot_gc.py
index ca99afa..9d436e9 100644
--- a/test/integration/component/test_snapshot_gc.py
+++ b/test/integration/component/test_snapshot_gc.py
@@ -263,6 +263,7 @@ class TestAccountSnapshotClean(cloudstackTestCase):
                     path,
                     self.services["paths"]["mount_dir"]
                     ),
+                "cd %s" % self.services["paths"]["mount_dir"],
                 "ls %s" % (
                     snapshotPath
                     ),
@@ -276,6 +277,7 @@ class TestAccountSnapshotClean(cloudstackTestCase):
             snapshots.extend(result)
             # Unmount the Sec Storage
             cmds = [
+                "cd",
                 "umount %s" % (self.services["paths"]["mount_dir"]),
             ]
             for c in cmds:

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/472370f8/test/integration/component/test_snapshot_limits.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_snapshot_limits.py b/test/integration/component/test_snapshot_limits.py
index 577b9e5..c1d8e8e 100644
--- a/test/integration/component/test_snapshot_limits.py
+++ b/test/integration/component/test_snapshot_limits.py
@@ -251,6 +251,7 @@ class TestSnapshotLimit(cloudstackTestCase):
                     path,
                     self.services["paths"]["mount_dir"]
                     ),
+                "cd %s" % self.services["paths"]["mount_dir"],
                 "ls %s" % (
                     snapshotPath
                     ),
@@ -264,6 +265,7 @@ class TestSnapshotLimit(cloudstackTestCase):
             snapshots.extend(result)
             # Unmount the Sec Storage
             cmds = [
+                "cd",
                 "umount %s" % (self.services["paths"]["mount_dir"]),
             ]
             for c in cmds:

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/472370f8/test/integration/component/test_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py
index 49b10fe..b97a83a 100644
--- a/test/integration/component/test_snapshots.py
+++ b/test/integration/component/test_snapshots.py
@@ -243,6 +243,7 @@ class TestSnapshots(cloudstackTestCase):
                     path,
                     self.services["paths"]["mount_dir"]
                     ),
+                "cd %s" % self.services["paths"]["mount_dir"],
                 "ls %s" % (
                     snapshotPath
                     ),
@@ -256,6 +257,7 @@ class TestSnapshots(cloudstackTestCase):
             snapshots.extend(result)
             # Unmount the Sec Storage
             cmds = [
+                "cd",
                 "umount %s" % (self.services["paths"]["mount_dir"]),
             ]
             for c in cmds:
@@ -1048,6 +1050,7 @@ class TestCreateVMSnapshotTemplate(cloudstackTestCase):
                     path,
                     self.services["paths"]["mount_dir"]
                     ),
+                "cd %s" % self.services["paths"]["mount_dir"],
                 "ls %s" % (
                     snapshotPath
                     ),
@@ -1061,6 +1064,7 @@ class TestCreateVMSnapshotTemplate(cloudstackTestCase):
             snapshots.extend(result)
             # Unmount the Sec Storage
             cmds = [
+                "cd",
                 "umount %s" % (self.services["paths"]["mount_dir"]),
             ]
             for c in cmds:


Mime
View raw message