Sleep between write and read in EventLogTest

The Event log test cases depend on writing to the log and then
reading back the newly written data. Sometimes there is a slight
delay before the writes becomes visible, causing the subsequent
reads to fail.

Previously a Thread.sleep() was added to one test case here:

80a7afa08812b01626ba0d5d9205c08110b6a441

but the other cases may also fail for the same reason. This commit
moves the sleep() to getEventsAfterMarker() to make sure there is a
delay before any read. The sleep time has also been increased to
a level where all test cases always pass.

Change-Id: I7280b7a87bfbc9b169e85270c3a51c5ff9586e97
1 file changed