This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b5fd8ac Fixed pthread mutex init issue with cache test
b5fd8ac is described below
commit b5fd8ac20fedb275cd76a1b03ba6625a173738e3
Author: Bryan Call <[email protected]>
AuthorDate: Wed Apr 10 10:44:27 2019 -0700
Fixed pthread mutex init issue with cache test
---
iocore/cache/test/main.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/iocore/cache/test/main.cc b/iocore/cache/test/main.cc
index f0425d9..a553940 100644
--- a/iocore/cache/test/main.cc
+++ b/iocore/cache/test/main.cc
@@ -54,6 +54,7 @@ struct EventProcessorListener : Catch::TestEventListenerBase {
ink_net_init(ts::ModuleVersion(1, 0, ts::ModuleVersion::PRIVATE));
ink_assert(GLOBAL_DATA != nullptr);
+ statPagesManager.init(); // mutex needs to be initialized before calling
netProcessor.init
netProcessor.init();
eventProcessor.start(THREADS);