Skip to content

Commit

Permalink
use empty component name to avoid auto-adding in tlc emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Jul 10, 2023
1 parent 911a121 commit 7029fcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/site/tlc/invalid_command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
timeout: 0,
intersection: 0
}
result = site.send_command Validator.config['main_component'], command_list,
# Note: the rsmp tlc emulator automatically adds compoents that it
# doesn't know, so you don't have to configure them manually in the supervisor
# However, it will refuse to add a component with an empty string ''.
result = site.send_command '', command_list,
collect: { timeout: Validator.config['timeouts']['command_response'] },
validate: false # disable validation of outgoing message
collector = result[:collector]
Expand Down

0 comments on commit 7029fcc

Please sign in to comment.