Specifications:
Verify the connection sequence when using rsmp core 3.1.1
-
Given the site is connected and using core 3.1.1
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.1
-
Expect the connection sequence to be complete
90
# File 'spec/supervisor/connect_spec.rb', line 90 check_sequence '3.1.1'
-
Verify the connection sequence when using rsmp core 3.1.2
-
Given the site is connected and using core 3.1.2
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.2
-
Expect the connection sequence to be complete
100
# File 'spec/supervisor/connect_spec.rb', line 100 check_sequence '3.1.2'
-
Verify the connection sequence when using rsmp core 3.1.3
-
Given the site is connected and using core 3.1.3
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.3
-
Expect the connection sequence to be complete
110
# File 'spec/supervisor/connect_spec.rb', line 110 check_sequence '3.1.3'
-
Verify the connection sequence when using rsmp core 3.1.4
-
Given the site is connected and using core 3.1.4
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.4
-
Expect the connection sequence to be complete
120
# File 'spec/supervisor/connect_spec.rb', line 120 check_sequence '3.1.4'
-
Verify the connection sequence when using rsmp core 3.1.5
-
Given the site is connected and using core 3.1.5
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.5
-
Expect the connection sequence to be complete
130
# File 'spec/supervisor/connect_spec.rb', line 130 check_sequence '3.1.5'
-
Verify the connection sequence when using rsmp core 3.2
-
Given the site is connected and using core 3.2
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.5
-
Expect the connection sequence to be complete
140
# File 'spec/supervisor/connect_spec.rb', line 140 check_sequence '3.2'
-
Verify the connection sequence when using rsmp core 3.2.1
-
Given the site is connected and using core 3.2.1
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.5
-
Expect the connection sequence to be complete
150
# File 'spec/supervisor/connect_spec.rb', line 150 check_sequence '3.2.1'
-
Verify the connection sequence when using rsmp core 3.2.2
-
Given the site is connected and using core 3.2.2
-
Send and receive handshake messages
-
Expect the handshake messages to be in the specified sequence corresponding to version 3.1.5
-
Expect the connection sequence to be complete
160
# File 'spec/supervisor/connect_spec.rb', line 160 check_sequence '3.2.2'
-
Validate that the supervisor responds correctly when we send an aggregated status message
7 8 9 10 11 12 13 14 15 16
# File 'spec/supervisor/aggregated_status_spec.rb', line 7 Validator::Supervisor.connected do |task,site,supervisor_proxy| component = site.find_component Validator.get_config('main_component') # setting ':collect' will cause set_aggregated_status() to wait for the # outgoing aggregated status is acknowledged component.set_aggregated_status :high_priority_alarm, collect!: { timeout: Validator.get_config('timeouts','acknowledgement'), num: 1 } end