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
ISC Open Source Projects
Kea
Commits
fa0f966c
Commit
fa0f966c
authored
Sep 29, 2015
by
Marcin Siodelski
Browse files
[3971] Addressed other review comments.
parent
77836da9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
View file @
fa0f966c
...
...
@@ -356,9 +356,7 @@ TEST_F(MemfileLeaseMgrTest, lfcTimer) {
// Run the test for at most 2.9 seconds.
setTestTime
(
2900
);
// Stop worker thread to make sure it is not running when lease
// manager is destroyed. The lease manager will be unable to
// unregster timer when the thread is active.
// Stop worker thread.
ASSERT_NO_THROW
(
timer_mgr_
->
stopThread
());
// Within 2.9 we should record two LFC executions.
...
...
src/lib/testutils/dhcp_test_lib.sh.in
View file @
fa0f966c
...
...
@@ -250,7 +250,9 @@ cleanup() {
# Use asterisk to remove all files starting with the given name,
# in case the LFC has been run. LFC creates files with postfixes
# appended to the lease file name.
rm -rf ${LEASE_FILE}*
if [ ! -z "${LEASE_FILE}" ]; then
rm -rf ${LEASE_FILE}*
fi
rm -rf ${CFG_FILE}
rm -rf ${KEACTRL_CFG_FILE}
}
...
...
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