WOLF-300: Try using a smaller data volume for LLLeap tests on Windows.

meow-7.2.2
Nat Goodspeed 2015-11-18 17:22:57 -05:00
parent 5e111c6d00
commit 2ccbb77f3c
1 changed files with 9 additions and 1 deletions

View File

@ -36,10 +36,18 @@ StringVec sv(const StringVec& listof) { return listof; }
#if defined(LL_WINDOWS)
#define sleep(secs) _sleep((secs) * 1000)
#endif
// WOLF-300: It appears that driving a megabyte of data through an LLLeap pipe
// causes Windows abdominal pain such that it later fails code-signing in some
// mysterious way. Entirely suppressing these LLLeap tests pushes the failure
// rate MUCH lower. Can we re-enable them with a smaller data size on Windows?
const size_t BUFFERED_LENGTH = 100*1024;
#else // not Windows
const size_t BUFFERED_LENGTH = 1023*1024; // try wrangling just under a megabyte of data
#endif
void waitfor(const std::vector<LLLeap*>& instances, int timeout=60)
{
int i;