Permalink
Browse files

Make it fail

  • Loading branch information...
petya2164 committed Sep 19, 2017
1 parent 8e6d156 commit ca669d3add5165554f755b0d97e502ead5036aed
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/src/test_boost_asio_timer.cpp
@@ -3,6 +3,7 @@
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#include <iostream>
#include <gauge/gauge.hpp>
#include <gtest/gtest.h>
@@ -26,7 +27,7 @@ struct boost_asio_timer_benchmark : public gauge::time_benchmark
double time = gauge::time_benchmark::measurement();
// This should be higher than 99% of the requested time
// The timer might expire a little earlier on Windows
EXPECT_GE(time, m_delay.count() * 0.99);
EXPECT_GE(time, m_delay.count() * 1.99);
return time;
}
@@ -48,7 +49,7 @@ struct boost_asio_timer_benchmark : public gauge::time_benchmark
// reset the io service in order for it to work on the next run.
m_io.reset();
}
std::cerr << "Written to stderr!!!!!!!!!!" << std::endl;
}
void timeout_handler(const boost::system::error_code& ec)

0 comments on commit ca669d3

Please sign in to comment.