[banshee] MediaEngine.Tests: Wait one second longer for state change
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] MediaEngine.Tests: Wait one second longer for state change
- Date: Wed, 30 May 2012 18:22:37 +0000 (UTC)
commit 2212116a814640ffce06ae2fe0fb8f00a0de10f0
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Thu May 24 20:31:21 2012 +0200
MediaEngine.Tests: Wait one second longer for state change
A state change test was failing for a few milliseconds, so wait 3
seconds instead of 2 for the change.
.../Banshee.Services/Banshee.MediaEngine/Tests.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs b/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
index eab690e..c9ba49c 100644
--- a/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
+++ b/src/Core/Banshee.Services/Banshee.MediaEngine/Tests.cs
@@ -207,8 +207,8 @@ namespace Banshee.MediaEngine
while (result_count < states.Length) {
reset_event.Reset ();
- if (!reset_event.WaitOne (2000)) {
- Assert.Fail (String.Format ("Waited 1s for state/event, didnt' happen"));
+ if (!reset_event.WaitOne (3000)) {
+ Assert.Fail (String.Format ("Waited 3s for state/event, didnt' happen"));
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]