[gnome-music] Comment out tests with race condition
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Comment out tests with race condition
- Date: Sun, 9 Jun 2013 06:22:11 +0000 (UTC)
commit 0c427384da506799b98c072ee8f54f90a826c789
Author: Seif Lotfy <seif lotfy com>
Date: Sun Jun 9 08:21:40 2013 +0200
Comment out tests with race condition
tests/tests_albumPlayback.js | 4 +++-
tests/tests_artistsPlayback.js | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tests/tests_albumPlayback.js b/tests/tests_albumPlayback.js
index 7e6d89d..b82f81f 100644
--- a/tests/tests_albumPlayback.js
+++ b/tests/tests_albumPlayback.js
@@ -139,7 +139,9 @@ function testAlbumViewPlayback() {
//assertFalse(player.nextBtn.get_sensitive())
// Scale value is set to 0
- assertEquals(player.progressScale.get_value(), 0)
+ // This can't work everytime due to race conditions if the song starts playing before
+ // reaching this assertion
+ //assertEquals(player.progressScale.get_value(), 0)
// Track markup is updated
let newTrackMarkup = albumWidget.model.get_value(firstTrackIter, 0);
diff --git a/tests/tests_artistsPlayback.js b/tests/tests_artistsPlayback.js
index 0deeb82..e1d47f2 100644
--- a/tests/tests_artistsPlayback.js
+++ b/tests/tests_artistsPlayback.js
@@ -126,7 +126,9 @@ function testArtistsViewPlayback() {
//assertTrue(player.nextBtn.get_sensitive())
// Scale value is set to 0
- assertEquals(player.progressScale.get_value(), 0)
+ // This can't work everytime due to race conditions if the song starts playing before
+ // reaching this assertion
+ //assertEquals(player.progressScale.get_value(), 0)
// Track markup is updated
let newTrackMarkup = firstTrack.songWidget.title.get_label();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]