diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2016-02-10 15:28:39 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-02-11 20:00:04 -0800 |
commit | 059710ad62d828d40760c9c63a109286e5e5dca3 (patch) | |
tree | 119c8e3d76bb73a8234c2503278df841ff172bcd /heal | |
parent | 0c3e7174ac74f7222f3b8a27fe8b146b4c104852 (diff) |
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 <pkarampu@redhat.com>
>Reviewed-on: http://review.gluster.org/13421
>Smoke: Gluster Build System <jenkins@build.gluster.com>
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
>Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
>(cherry picked from commit 320779d53ae013147d5e2556d2946c73e45734ab)
Change-Id: Ia98bb4b35b0e778d777705a03b2415f2093863f7
BUG: 1306738
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/13431
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'heal')
-rw-r--r-- | heal/src/glfs-heal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c index 960fd20bb96..83c1b1035f1 100644 --- a/heal/src/glfs-heal.c +++ b/heal/src/glfs-heal.c @@ -928,7 +928,6 @@ main (int argc, char **argv) goto out; } - sleep (2); top_subvol = glfs_active_subvol (fs); if (!top_subvol) { ret = -1; |