Merge pull request #3548 from bridadan/reduce_stack_network_parallel_tests

Reduce thread stack size for parallel network tests
pull/3649/head
Martin Kojtal 2017-01-26 10:21:46 +02:00 committed by GitHub
commit addd2b2965
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);