Reduce thread stack size for parallel network tests

This commit reduces the thread stack from 2k to 1k for each thread in
the parallel network tests. This allows the test to run on more
constrained devices (like the LPC1768).
pull/3548/head
Brian Daniels 2017-01-09 14:24:14 -06:00
parent 3a326c0b94
commit bdd0ff4272
2 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,10 @@ private:
Thread thread;
public:
// Limiting stack size to 1k
Echo(): thread(osPriorityNormal, 1024) {
}
void start() {
osStatus status = thread.start(callback(this, &Echo::echo));
TEST_ASSERT_EQUAL(osOK, status);

View File

@ -46,6 +46,10 @@ private:
Thread thread;
public:
// Limiting stack size to 1k
Echo(): thread(osPriorityNormal, 1024) {
}
void start() {
osStatus status = thread.start(callback(this, &Echo::echo));
TEST_ASSERT_EQUAL(osOK, status);