TESTS: Add a delay at the start of the fork test for a more uniform testing.
authorYannick Brosseau <yannick.brosseau@gmail.com>
Mon, 21 Feb 2011 19:36:09 +0000 (20:36 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Wed, 23 Feb 2011 08:42:55 +0000 (09:42 +0100)
commit36c95a5e121f351f8733fedeeb2669cb4b8aef17
tree9197a5a7c9cbbdcdd577310ad48e9c7b410d05ad
parentb2ccc23151c949c88ab37929000ec0bb83d5456d
TESTS: Add a delay at the start of the fork test for a more uniform testing.

Add a sleep to leave time for the ustconsumer thread to initialize correctly
before the fork.
Most of the time the consumer was not yet started at the time of the fork so
a bunch of initializations were not done and the fork code path was not
tested properly.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Acked-by: Nils Carlson <nils.carlson@ericsson.com>
tests/fork/fork.c
This page took 0.024826 seconds and 4 git commands to generate.