From: John Spray Date: Fri, 19 Dec 2014 13:44:20 +0000 (+0000) Subject: tasks/cephfs: move ROOT_INO into filesystem module X-Git-Tag: v0.94.10~27^2^2~205^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8630c4ab3bb40cabd91112879eddbb77df2c326e;p=ceph.git tasks/cephfs: move ROOT_INO into filesystem module ...so that other tests can get at it. Signed-off-by: John Spray --- diff --git a/tasks/cephfs/filesystem.py b/tasks/cephfs/filesystem.py index 8170cbc11049..46ad3ab7ba2c 100644 --- a/tasks/cephfs/filesystem.py +++ b/tasks/cephfs/filesystem.py @@ -19,6 +19,7 @@ log = logging.getLogger(__name__) DAEMON_WAIT_TIMEOUT = 120 +ROOT_INO = 1 class ObjectNotFound(Exception): diff --git a/tasks/mds_flush.py b/tasks/mds_flush.py index 09e877a67ca8..c10baec6e3c1 100644 --- a/tasks/mds_flush.py +++ b/tasks/mds_flush.py @@ -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):