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 cc7e102 Fixed cache test, using updated shutdown
cc7e102 is described below
commit cc7e10282b3f15c3b8cf8da1a1450ff304d125db
Author: Bryan Call <[email protected]>
AuthorDate: Mon Apr 8 10:31:40 2019 -0700
Fixed cache test, using updated shutdown
---
iocore/cache/test/main.cc | 2 +-
iocore/cache/test/main.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/iocore/cache/test/main.cc b/iocore/cache/test/main.cc
index 777d9ca..578314d 100644
--- a/iocore/cache/test/main.cc
+++ b/iocore/cache/test/main.cc
@@ -31,7 +31,7 @@ char working_dir[1024] = {0};
void
test_done()
{
- shutdown_event_system = true;
+ TSSystemState::shut_down_event_system();
}
const char *GLOBAL_DATA = (char *)ats_malloc(10 * 1024 * 1024 + 3); // 10M
diff --git a/iocore/cache/test/main.h b/iocore/cache/test/main.h
index b4dc4ee..e661faa 100644
--- a/iocore/cache/test/main.h
+++ b/iocore/cache/test/main.h
@@ -29,6 +29,7 @@
#include "tscore/I_Layout.h"
#include "tscore/Diags.h"
+#include "tscore/TSSystemState.h"
#include "RecordsConfig.h"
#include "records/I_RecProcess.h"