ci: faster unit_tests (#33953)

* effect

* test

* no

* yes

* try some caching

* try

* 1

* try more 1

* just for fun

* 50 maybe????

* all for nothing

* fix

* add back

* back

* timeout

* clean

* try

* no

* less
This commit is contained in:
Maxime Desroches
2024-11-07 15:29:07 -08:00
committed by GitHub
parent f2a1cce42b
commit 4f9794097b
4 changed files with 12 additions and 23 deletions
+1 -11
View File
@@ -136,7 +136,7 @@ std::string download_demo_route() {
}
TEST_CASE("Local route") {
TEST_CASE("Getting route") {
std::string data_dir = download_demo_route();
auto flags = GENERATE(0, REPLAY_FLAG_QCAMERA);
@@ -148,16 +148,6 @@ TEST_CASE("Local route") {
}
}
TEST_CASE("Remote route") {
auto flags = GENERATE(0, REPLAY_FLAG_QCAMERA);
Route route(DEMO_ROUTE);
REQUIRE(route.load());
REQUIRE(route.segments().size() == 13);
for (int i = 0; i < TEST_REPLAY_SEGMENTS; ++i) {
read_segment(i, route.at(i), flags);
}
}
TEST_CASE("seek_to") {
QEventLoop loop;
int seek_to = util::random_int(0, 2 * 59);