• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

simonsobs / ocs / 6317247825
67%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2023 07:17PM UTC
Jobs 1
Files 35
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2023 07:10PM UTC coverage: 67.054% (+0.4%) from 66.684%
6317247825

push

github

web-flow
Allow user configurable agent timeout for crossbar disconnection (#337)

* Add crossbar-timeout to site args via add_arguments()

* Delay reconnection check attempts in same manner as twisted reconnection

* Define signal handlers on disconnect. This allows interrupting agents that
  are running with a crossbar-timeout of 0.

* Fix help text in site config options

* Add --crossbar-timeout to ocs-agent-cli

* yield when calling _stop_all_running_sessions()

As a result, yield also when calling _shutdown().

* Simplify 0 timeout logic

* Add crossbar-timeout at host level in the SCF

* Move signal handler definition to onConnect()

* Document crossbar-timeout

* Increase timeouts in tests

Now that we're properly waiting for Agent shutdown it takes a bit longer. These
times were sufficient when running tests locally.

* Add additional note about how to disable timeout

49 of 49 new or added lines in 4 files covered. (100.0%)

2597 of 3873 relevant lines covered (67.05%)

0.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
73.26
0.31% ocs/agent_cli.py
4
86.15
0.3% ocs/ocs_agent.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
67.17
0.0% ocs/agents/host_manager/agent.py
2
51.38
2.21% ocs/agents/host_manager/drivers.py
3
86.15
0.3% ocs/ocs_agent.py
Jobs
ID Job ID Ran Files Coverage
1 6317247825.1 26 Sep 2023 07:17PM UTC 35
67.05
Source Files on build 6317247825
  • Tree
  • List 35
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6117ef83 on github
  • Prev Build on main (#6250083020)
  • Next Build on main (#6421163974)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc