Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yellow flash timeout config #359

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/dynniq_ec2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ timeouts:
shutdown: 180
startup_sequence: 60
functional_position: 30
yellow_flash: 60
components:
main:
KK+AG9998=001TC000:
Expand Down
1 change: 1 addition & 0 deletions config/gem_tlc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ timeouts:
startup_sequence: 5
functional_position: 2
priority_completion: 5
yellow_flash: 2
components:
main:
TC:
Expand Down
1 change: 1 addition & 0 deletions config/swarco_itc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ timeouts:
shutdown: 180
startup_sequence: 180
functional_position: 240
yellow_flash: 60
components:
main:
KK+AG9998=001TC000:
Expand Down
1 change: 1 addition & 0 deletions config/swarco_itc3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ timeouts:
shutdown: 180
startup_sequence: 180
functional_position: 30
yellow_flash: 60
components:
main:
KK+AG9998=001TC000:
Expand Down
2 changes: 1 addition & 1 deletion spec/site/tlc/modes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
specify 'yellow flash affects all signal groups', sxl: '>=1.0.7' do |example|
Validator::Site.connected do |task,supervisor,site|
prepare task, site
timeout = 10
timeout = Validator.config['timeouts']['yellow_flash']

switch_yellow_flash
wait_for_groups 'c', timeout: timeout # c mean s yellow flash
Expand Down
1 change: 0 additions & 1 deletion spec/support/status_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def wait_for_status parent_task, description, status_list,
end

def wait_for_groups state, timeout:
timeout = 10
regex = /^#{state}+$/
wait_for_status(@task,
"Wait for all groups to go to yellow flash",
Expand Down