Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
c1f4e353
Commit
c1f4e353
authored
Aug 31, 2012
by
Jelte Jansen
Browse files
[357] test for negative timeout config
parent
6c9732dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/tests/config_unittest.cc
View file @
c1f4e353
...
...
@@ -151,6 +151,9 @@ TEST_F(AuthConfigTest, tcpRecvTimeoutConfig) {
configureAuthServer
(
server
,
Element
::
fromJSON
(
"{
\"
tcp_recv_timeout
\"
: 2000 }"
));
EXPECT_EQ
(
2000
,
dnss_
.
getTCPRecvTimeout
());
EXPECT_THROW
(
configureAuthServer
(
server
,
Element
::
fromJSON
(
"{
\"
tcp_recv_timeout
\"
: -123 }"
)),
AuthConfigError
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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