From 0fd7d0e1c78fdbedfcdb085445c4b0be3c1a97a9 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Wed, 7 Sep 2016 15:47:14 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/15419 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/md-cache/bug-1211863_unlink.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/bugs/md-cache') 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; -- cgit