Fix bug in recycling jobs
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 28 Mar 2017 08:18:06 +0000 (10:18 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 28 Mar 2017 08:21:06 +0000 (10:21 +0200)
The bug was creating an infinite loop starving
the system (or other possible horrific stuff).

Also updated the test.

Change-Id: Id71dd112d2ed4651ac8aa56d2c57b088d69b8655
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found