From 320779d53ae013147d5e2556d2946c73e45734ab Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 10 Feb 2016 15:28:39 +0530 Subject: heal: Remove sleep() I wrote this program from a sample gfapi program which had sleep. I am not sure why this sleep was needed. So removing it now. Changed tests/bugs/replicate/bug-1190069-afr-stale-index-entries.t to execute count_sh_entries every second, instead of comparing same value over and over. Change-Id: I7b89d6cab3e50bb7bf4d40a6064f2d8734155bea BUG: 1306199 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/13421 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Krutika Dhananjay --- heal/src/glfs-heal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'heal/src') diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c index 0be21bb57a4..c6c1161b05b 100644 --- a/heal/src/glfs-heal.c +++ b/heal/src/glfs-heal.c @@ -937,7 +937,6 @@ main (int argc, char **argv) goto out; } - sleep (2); top_subvol = glfs_active_subvol (fs); if (!top_subvol) { ret = -1; -- cgit