]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: move ROOT_INO into filesystem module
authorJohn Spray <jspray@redhat.com>
Fri, 19 Dec 2014 13:44:20 +0000 (13:44 +0000)
committerJohn Spray <jspray@redhat.com>
Fri, 9 Jan 2015 10:09:52 +0000 (10:09 +0000)
...so that other tests can get at it.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/filesystem.py
tasks/mds_flush.py

index 8170cbc11049b0a10d6e0a82206d3f5691c6b05d..46ad3ab7ba2c02fe46774b10c4f1514aeac452ff 100644 (file)
@@ -19,6 +19,7 @@ log = logging.getLogger(__name__)
 
 
 DAEMON_WAIT_TIMEOUT = 120
+ROOT_INO = 1
 
 
 class ObjectNotFound(Exception):
index 09e877a67ca8b66b13e27b439bbaec1bf223b5aa..c10baec6e3c12fe64186f565e28e305fcb071737 100644 (file)
@@ -1,10 +1,7 @@
 import contextlib
 from textwrap import dedent
 from tasks.cephfs.cephfs_test_case import run_tests, CephFSTestCase
-from tasks.cephfs.filesystem import Filesystem, ObjectNotFound
-
-
-ROOT_INO = 1
+from tasks.cephfs.filesystem import Filesystem, ObjectNotFound, ROOT_INO
 
 
 class TestFlush(CephFSTestCase):