diff options
author | Ted Gould <ted@gould.cx> | 2015-01-30 10:05:10 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-01-30 10:05:10 -0600 |
commit | bc90929adb5637cc0f77dfeba64082b26c435fc7 (patch) | |
tree | a3a10b8481e961f3cea4761b7daa9f877219625f /tests/media-player-user.cc | |
parent | 7746f13ca38f67ea1b0c81fdb2ff43b764f0efa0 (diff) | |
download | ayatana-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.
Diffstat (limited to 'tests/media-player-user.cc')
-rw-r--r-- | tests/media-player-user.cc | 3 |
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); |