if the tg_process crashes, this loop won't terminate unless
we check tg_process.is_alive()
wait 1 second before checking in case is_alive needs time
to become True
Change-Id: Ia0b8fd884dcfeb75ebb8e36caaf1f0b70dab079d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
         # Wait for traffic process to start
         while self.resource_helper.client_started.value == 0:
             time.sleep(self.RUN_WAIT)
+            # what if traffic process takes a few seconds to start?
+            if not self._traffic_process.is_alive():
+                break
 
         return self._traffic_process.is_alive()