From 68c7bef33e74f23aa0136ccd6f7faa654d671ebc Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 21 五月 2021 09:23:01 +0800 Subject: [PATCH] center publish notify; fix topic partial match. --- utest/simple_tests.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utest/simple_tests.cpp b/utest/simple_tests.cpp index 33c78f5..e1f1d2f 100644 --- a/utest/simple_tests.cpp +++ b/utest/simple_tests.cpp @@ -107,8 +107,8 @@ BOOST_AUTO_TEST_CASE(TimedWaitTest) { SharedMemory &shm = TestShm(); - MsgI::BindShm(shm); - ShmMsgQueue q(shm, 64); + GlobalInit(shm); + ShmMsgQueue q(shm, ShmMsgQueue::NewId(), 64); for (int i = 0; i < 2; ++i) { int ms = i * 100; printf("Timeout Test %4d: ", ms); @@ -123,7 +123,7 @@ { SharedMemory &shm = TestShm(); typedef MsgI Msg; - Msg::BindShm(shm); + GlobalInit(shm); Msg m0(1000); BOOST_CHECK(m0.valid()); -- Gitblit v1.8.0