Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
cfe707bd
Commit
cfe707bd
authored
Jul 01, 2014
by
Tomek Mrugalski
🛰
Browse files
Merge branch 'master' of
ssh://git.kea.isc.org/git/kea
parents
8bd5a6b9
af983cde
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/asiolink/tests/interval_timer_unittest.cc
View file @
cfe707bd
...
...
@@ -324,7 +324,9 @@ TEST_F(IntervalTimerTest, intervalModeTest) {
// work or the the service has been stopped by the test timer.
int
cnt
=
0
;
while
(((
cnt
=
io_service_
.
get_io_service
().
run_one
())
>
0
)
&&
(
repeater_count
<
5
));
&&
(
repeater_count
<
5
))
{
// deliberately empty
};
// If cnt is zero, then something went wrong.
EXPECT_TRUE
(
cnt
>
0
);
...
...
@@ -372,7 +374,9 @@ TEST_F(IntervalTimerTest, timerReuseTest) {
// work or the the service has been stopped by the test timer.
int
cnt
=
0
;
while
((
cnt
=
io_service_
.
get_io_service
().
run_one
())
&&
(
one_shot_count
<
4
));
&&
(
one_shot_count
<
4
))
{
// deliberately empty
};
// If cnt is zero, then something went wrong.
EXPECT_TRUE
(
cnt
>
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment