summaryrefslogtreecommitdiffstats
path: root/src/test/msgr/test_async_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/msgr/test_async_driver.cc')
-rw-r--r--src/test/msgr/test_async_driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/msgr/test_async_driver.cc b/src/test/msgr/test_async_driver.cc
index 1d6d2900b7c..a25eef337bb 100644
--- a/src/test/msgr/test_async_driver.cc
+++ b/src/test/msgr/test_async_driver.cc
@@ -307,8 +307,8 @@ TEST(EventCenterTest, DispatchTest) {
atomic_t count(0);
Mutex lock("DispatchTest::lock");
Cond cond;
- worker1.create();
- worker2.create();
+ worker1.create("worker_1");
+ worker2.create("worker_2");
for (int i = 0; i < 10000; ++i) {
count.inc();
worker1.center.dispatch_event_external(EventCallbackRef(new CountEvent(&count, &lock, &cond)));