aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-01-30 10:05:10 -0600
committerTed Gould <ted@gould.cx>2015-01-30 10:05:10 -0600
commitbc90929adb5637cc0f77dfeba64082b26c435fc7 (patch)
treea3a10b8481e961f3cea4761b7daa9f877219625f
parent7746f13ca38f67ea1b0c81fdb2ff43b764f0efa0 (diff)
downloadayatana-indicator-sound-bc90929adb5637cc0f77dfeba64082b26c435fc7.tar.gz
ayatana-indicator-sound-bc90929adb5637cc0f77dfeba64082b26c435fc7.tar.bz2
ayatana-indicator-sound-bc90929adb5637cc0f77dfeba64082b26c435fc7.zip
Ensure the properties get set, there's some intermitant failures here.
-rw-r--r--tests/media-player-user.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/media-player-user.cc b/tests/media-player-user.cc
index a402f90..8d2fcb1 100644
--- a/tests/media-player-user.cc
+++ b/tests/media-player-user.cc
@@ -180,6 +180,9 @@ TEST_F(MediaPlayerUserTest, TimeoutTest) {
set_property("Album", g_variant_new_string("Vinyl is dead"));
set_property("ArtUrl", g_variant_new_string("http://art.url"));
+ /* Ensure the properties get set before we pull them */
+ loop(100);
+
/* Build our media player */
MediaPlayerUser * player = media_player_user_new("user");
ASSERT_NE(nullptr, player);