diff options
author | Poornima G <pgurusid@redhat.com> | 2016-09-07 15:47:14 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2016-09-07 21:15:07 -0700 |
commit | 0fd7d0e1c78fdbedfcdb085445c4b0be3c1a97a9 (patch) | |
tree | 9ba7230feceb118db246e86f0c19eb1bd1a8e24b /tests/bugs/md-cache | |
parent | e1584b1c1df656612f6233ac40ba55f29591b0c3 (diff) |
tests: Fix one of the md-cache test cases
Verify if the unlink, rename and other ops are reflected both on
the current mount and other mounts.
Change-Id: I5a296cdd557194dcf487e65ee4a14bbeaf4be690
BUG: 1211863
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/15419
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/md-cache')
-rwxr-xr-x | tests/bugs/md-cache/bug-1211863_unlink.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/bugs/md-cache/bug-1211863_unlink.t b/tests/bugs/md-cache/bug-1211863_unlink.t index f83d3d7f83a..34392ed919f 100755 --- a/tests/bugs/md-cache/bug-1211863_unlink.t +++ b/tests/bugs/md-cache/bug-1211863_unlink.t @@ -37,9 +37,13 @@ TEST ls -l $M1/dir1/file3 TEST rm $M0/dir1/file2 TEST mv $M0/dir1/file3 $M0/dir1/file6 -## Check if the files are not visible from M0 +## Check if the files are not visible from both M0 and M1 EXPECT_WITHIN $MDC_TIMEOUT "N" path_exists $M0/dir1/file2 EXPECT_WITHIN $MDC_TIMEOUT "N" path_exists $M0/dir1/file3 EXPECT_WITHIN $MDC_TIMEOUT "Y" path_exists $M0/dir1/file6 +EXPECT_WITHIN $MDC_TIMEOUT "N" path_exists $M1/dir1/file2 +EXPECT_WITHIN $MDC_TIMEOUT "N" path_exists $M1/dir1/file3 +EXPECT_WITHIN $MDC_TIMEOUT "Y" path_exists $M1/dir1/file6 + cleanup; |