diff options
author | Yang Gao <yangg@google.com> | 2015-06-01 14:32:38 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-06-01 14:32:38 -0700 |
commit | 69fe0759bee3579d743d2e71f36504366ee0d275 (patch) | |
tree | c606530611fb27e57ebd9786c4c89c814dce9783 /test | |
parent | 7b49a7737c3d323686ebdac5640672241eae89cb (diff) |
Various minor fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/core/support/tls_test.c | 1 | ||||
-rw-r--r-- | test/cpp/end2end/end2end_test.cc | 1 | ||||
-rw-r--r-- | test/cpp/end2end/thread_stress_test.cc | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/core/support/tls_test.c b/test/core/support/tls_test.c index 8632fd4490..0a3c28417f 100644 --- a/test/core/support/tls_test.c +++ b/test/core/support/tls_test.c @@ -54,6 +54,7 @@ static void thd_body(void *arg) { gpr_tls_set(&test_var, i); GPR_ASSERT(gpr_tls_get(&test_var) == i); } + gpr_tls_set(&test_var, 0); } /* ------------------------------------------------- */ diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index 7a15591b44..f48cf953a4 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -31,6 +31,7 @@ * */ +#include <mutex> #include <thread> #include "src/core/security/credentials.h" diff --git a/test/cpp/end2end/thread_stress_test.cc b/test/cpp/end2end/thread_stress_test.cc index 310227a29c..5ee29e40f4 100644 --- a/test/cpp/end2end/thread_stress_test.cc +++ b/test/cpp/end2end/thread_stress_test.cc @@ -31,6 +31,7 @@ * */ +#include <mutex> #include <thread> #include "test/core/util/port.h" |