Skip to content

Commit

Permalink
Use much bigger timeout of 10s (needed for coverage)
Browse files Browse the repository at this point in the history
The GRC parsing/graph creation for the 6 blocks in the "Streaming"
test takes 6 seconds alone here, so use much bigger timeouts.
To be investigating why it's _that_ slow under coverage.
  • Loading branch information
frankosterfeld committed Apr 8, 2024
1 parent 41a5af1 commit 4c63a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/gnuradio/test/qa_GnuRadioWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ client::ClientContext makeClient(zmq::Context &ctx) {

void waitWhile(auto condition) {
// Use generous timeout to avoid flakiness when run under gcov
constexpr auto kTimeout = 3s;
constexpr auto kTimeout = 10s;
constexpr auto kSleepInterval = 100ms;
auto elapsed = 0ms;
while (elapsed < kTimeout) {
Expand Down

0 comments on commit 4c63a39

Please sign in to comment.