22 using std::chrono::milliseconds;
23 using std::this_thread::sleep_for;
27 std::this_thread::sleep_for(milliseconds(110));
30 std::this_thread::sleep_for(milliseconds(90));
34 std::this_thread::sleep_for(milliseconds(110));
37 std::this_thread::sleep_for(milliseconds(90));
42 TEST(CodelTest, highLoad) {
48 TEST(CodelTest, mediumLoad) {
51 sleep_for(milliseconds(90));
58 TEST(CodelTest, reducingLoad) {
61 sleep_for(milliseconds(90));
65 TEST(CodelTest, oneRequestNoDrop) {
70 TEST(CodelTest, getLoadSanity) {
#define EXPECT_EQ(val1, val2)
bool overloaded(std::chrono::nanoseconds delay)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)
#define EXPECT_LT(val1, val2)
#define EXPECT_GT(val1, val2)