Skip to content

Commit

Permalink
Spell check fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
miyakoshi-dev committed Dec 6, 2024
1 parent 2249f87 commit 5867b2b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/test/infra/lttng/test_lttng.py
Original file line number Diff line number Diff line change
Expand Up @@ -1400,12 +1400,12 @@ def test_duplicated_events_executors(self, mocker):
ros_version = os.environ['ROS_DISTRO']
if ros_version[0] >= 'jazzy'[0]:
EXECUTOR_CALLBACK = 1001261
HDL_EXECUTOR_ENTITIY = 1000701
HDL_EXECUTOR_ENTITY = 1000701

events = [
{
'_name': 'ros2_caret:callback_group_to_executor_entity_collector',
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'callback_group_addr': EXECUTOR_CALLBACK,
'group_type_name': 'reentrant',
'_timestamp': 100101101,
Expand All @@ -1414,7 +1414,7 @@ def test_duplicated_events_executors(self, mocker):
},
{
'_name': 'ros2_caret:callback_group_to_executor_entity_collector',
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'callback_group_addr': EXECUTOR_CALLBACK,
'_timestamp': 100101260,
'group_type_name': 'mutually_exclusive',
Expand All @@ -1424,15 +1424,15 @@ def test_duplicated_events_executors(self, mocker):
{
'_name': 'ros2_caret:executor_entity_collector_to_executor',
'executor_addr': HDL_EXECUTOR,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'_timestamp': 100101102,
'_vtid': VTID1,
'_vpid': VPID1
},
{
'_name': 'ros2_caret:executor_entity_collector_to_executor',
'executor_addr': HDL_EXECUTOR,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'_timestamp': 100101261,
'_vtid': VTID1,
'_vpid': VPID1
Expand All @@ -1448,7 +1448,7 @@ def test_duplicated_events_executors(self, mocker):
lttng.data.executor_entity_collector_to_executor.\
df.iloc[0]['timestamp'] == 100101102 and \
lttng.data.executor_entity_collector_to_executor.\
df.iloc[0]['executor_entities_collector_addr'] == HDL_EXECUTOR_ENTITIY
df.iloc[0]['executor_entities_collector_addr'] == HDL_EXECUTOR_ENTITY

assert lttng.data.executor_entity_collector_to_executor.df.index[1] == 1 and \
lttng.data.executor_entity_collector_to_executor.\
Expand Down Expand Up @@ -1548,7 +1548,7 @@ def test_duplicated_events_callback_groups(self, mocker):

ros_version = os.environ['ROS_DISTRO']
if ros_version[0] >= 'jazzy'[0]:
HDL_EXECUTOR_ENTITIY = 1000701
HDL_EXECUTOR_ENTITY = 1000701
events = [
# Initialization trace points
{
Expand Down Expand Up @@ -1680,7 +1680,7 @@ def test_duplicated_events_callback_groups(self, mocker):
# JAZZY added>
{
'_name': 'ros2_caret:callback_group_to_executor_entity_collector',
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'callback_group_addr': EXECUTOR_CALLBACK,
'group_type_name': 'reentrant',
'_timestamp': 100101101,
Expand All @@ -1689,7 +1689,7 @@ def test_duplicated_events_callback_groups(self, mocker):
},
{
'_name': 'ros2_caret:callback_group_to_executor_entity_collector',
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'callback_group_addr': EXECUTOR_CALLBACK,
'group_type_name': 'mutually_exclusive',
'_timestamp': 100101260,
Expand All @@ -1699,15 +1699,15 @@ def test_duplicated_events_callback_groups(self, mocker):
{
'_name': 'ros2_caret:executor_entity_collector_to_executor',
'executor_addr': HDL_EXECUTOR,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'_timestamp': 100101102,
'_vtid': VTID1,
'_vpid': VPID1
},
{
'_name': 'ros2_caret:executor_entity_collector_to_executor',
'executor_addr': HDL_EXECUTOR,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITIY,
'executor_entities_collector_addr': HDL_EXECUTOR_ENTITY,
'_timestamp': 100101261,
'_vtid': VTID1,
'_vpid': VPID1
Expand Down Expand Up @@ -2140,7 +2140,7 @@ def test_duplicated_events_callback_groups(self, mocker):

if ros_version[0] >= 'jazzy'[0]:
assert lttng.data.callback_group_to_executor_entity_collector.\
df.index[0] == HDL_EXECUTOR_ENTITIY and \
df.index[0] == HDL_EXECUTOR_ENTITY and \
lttng.data.callback_group_to_executor_entity_collector.\
df.iloc[0]['group_type_name'] == 'reentrant' and \
lttng.data.callback_group_to_executor_entity_collector.\
Expand Down

0 comments on commit 5867b2b

Please sign in to comment.