userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.37k stars 275 forks source link

Switch all the databases to TestsuiteSupport::GetIncreasedTimeout() in tests #544

Open apolukhin opened 4 months ago

apolukhin commented 4 months ago

Rather than using DB specific timeouts

https://github.com/userver-framework/userver/blob/4348f91c9251bdfbb596ae68c5c922205b04c8fc/core/include/userver/testsuite/testsuite_support.hpp#L67-L68

we should switch to a generic one

https://github.com/userver-framework/userver/blob/4348f91c9251bdfbb596ae68c5c922205b04c8fc/core/include/userver/testsuite/testsuite_support.hpp#L75

an use it everywhere, including Mongo

Internal ticket: 8373