Hello guys,
The composition test template has this part there:
# sample =
# expect_execution do
# syskit_write cmp_task.my_child.an_output_port, test_sample
# end.to { have_one_new_sample cmp_task.my_child.an_input_port }
I guess it is wrong because it is writing to an output port and reading from an input port. In the composition, test context should be the opposite, so I suggest that:
# sample =
# expect_execution do
# syskit_write cmp_task.my_child.an_input_port, test_sample
# end.to { have_one_new_sample cmp_task.my_child.an_output_port }
I didn't find where to fix it.