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
e909ff99
Commit
e909ff99
authored
Mar 16, 2011
by
hanfeng
Browse files
[trac678] fix the bug that alarm isn't cancelled which will blocking followed unit test
parent
4dfa50d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/asiolink/tests/dns_server_unittest.cc
View file @
e909ff99
...
...
@@ -354,6 +354,8 @@ class DNSServerTest : public::testing::Test {
alarm
(
io_service_time_out
);
service
.
run
();
service
.
reset
();
//cancel scheduled alarm
alarm
(
0
);
std
::
signal
(
SIGALRM
,
prev_handler
);
}
...
...
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