2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[#1769] fixed comments

This commit is contained in:
Razvan Becheriu
2021-05-27 17:39:37 +03:00
parent fd1d4451df
commit 6ffb6e6470

View File

@@ -226,11 +226,10 @@ TEST_F(IOSignalTest, mixedSignals) {
ASSERT_NO_THROW(io_signal_set_->add(SIGUSR1)); ASSERT_NO_THROW(io_signal_set_->add(SIGUSR1));
ASSERT_NO_THROW(io_signal_set_->add(SIGUSR2)); ASSERT_NO_THROW(io_signal_set_->add(SIGUSR2));
// Stop the test after 21 signals. Needs to be a multiple of 3.
stop_at_count_ = 8; stop_at_count_ = 8;
// User a repeating TimedSignal so we should generate a signal every 1 ms // User a repeating TimedSignal so we should generate a signal every 3, 5
// until we hit our stop count. // and 7 ms until we hit our stop count.
TimedSignal sig_1(*io_service_, SIGINT, 3, TimedSignal sig_1(*io_service_, SIGINT, 3,
asiolink::IntervalTimer::REPEATING); asiolink::IntervalTimer::REPEATING);
TimedSignal sig_2(*io_service_, SIGUSR1, 5, TimedSignal sig_2(*io_service_, SIGUSR1, 5,