summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Amano <samano@xevo.com>2018-06-28 16:24:24 +0900
committerSho Amano <samano@xevo.com>2018-06-28 16:27:59 +0900
commit1b949923cff8ee3a9386608a76a04c1a9bbe21cb (patch)
treeb3ed158a854ff3d74401693db53c41d2fa228526
parentec56a0847b8c73050820c8893bcc3fa1f7642388 (diff)
downloadsdl_core-1b949923cff8ee3a9386608a76a04c1a9bbe21cb.tar.gz
fix: assign different connection handle in HeartBeatMonitorTest
-rw-r--r--src/components/connection_handler/test/heart_beat_monitor_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/connection_handler/test/heart_beat_monitor_test.cc b/src/components/connection_handler/test/heart_beat_monitor_test.cc
index c1385e7d04..826006d534 100644
--- a/src/components/connection_handler/test/heart_beat_monitor_test.cc
+++ b/src/components/connection_handler/test/heart_beat_monitor_test.cc
@@ -202,7 +202,9 @@ TEST_F(HeartBeatMonitorTest, TwoSessionsElapsed) {
session_connection_map_, session_connection_map_lock_)));
const uint32_t kSession1 = conn->AddNewSession(kDefaultConnectionHandle);
- const uint32_t kSession2 = conn->AddNewSession(kDefaultConnectionHandle);
+
+ const transport_manager::ConnectionUID kAnotherConnectionHandle = 2;
+ const uint32_t kSession2 = conn->AddNewSession(kAnotherConnectionHandle);
TestAsyncWaiter waiter;
uint32_t times = 0;