current idle timeout is 30s, so, making the test sleep for 30s may not
be enough. setting sleep time to be longer, and skippign the test so it
won't take too long.
Fixes: https://tracker.ceph.com/issues/62264
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
const std::chrono::milliseconds wait_time(10);
const std::chrono::milliseconds long_wait_time = wait_time*50;
-const std::chrono::seconds idle_time(30);
+const std::chrono::seconds idle_time(35);
class CctCleaner {
TEST_F(TestAMQP, IdleConnection)
{
// this test is skipped since it takes 30seconds
- //GTEST_SKIP();
+ GTEST_SKIP();
const auto connection_number = amqp::get_connection_count();
amqp::connection_id_t conn_id;
auto rc = amqp::connect(conn_id, "amqp://localhost", "ex1", false, false, boost::none);