changeset 281:7227203a9a70

Tests: fix js-timer
author David Demelier <markand@malikania.fr>
date Sat, 22 Oct 2016 16:08:22 +0200
parents 0f56b01957a1
children 38fd58a0b962
files tests/js-timer/main.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/js-timer/main.cpp	Sat Oct 22 15:58:31 2016 +0200
+++ b/tests/js-timer/main.cpp	Sat Oct 22 16:08:22 2016 +0200
@@ -38,7 +38,7 @@
     irccd.plugins().add(plugin);
 
     while (timer.elapsed() < 3000) {
-        irccd.poll();
+        util::poller::poll(512, irccd);
         irccd.dispatch();
     }
 
@@ -57,7 +57,7 @@
     irccd.plugins().add(plugin);
 
     while (timer.elapsed() < 3000) {
-        irccd.poll();
+        util::poller::poll(512, irccd);
         irccd.dispatch();
     }