Be more tolerant w.r.t. timing for macOS test due to CI VM timing issues.
This commit is contained in:
parent
bef1c57315
commit
5116ddbd57
|
@ -47,7 +47,9 @@ void main()
|
|||
catch (Exception e) assert(false, "Receiver thread failed: "~e.msg);
|
||||
|
||||
logInfo("Receive loop finished.");
|
||||
if (wc < 6*4-1) {
|
||||
version (OSX) enum tolerance = 4; // macOS CI VMs have particularly bad timing behavior
|
||||
else enum tolerance = 1;
|
||||
if (wc < 6 * 4 - tolerance) {
|
||||
logError("Receiver watchdog failure.");
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue