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

ICRAR / ngas
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Repo Added 30 Jun 2017 02:01AM UTC
Files 165
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

LAST BUILD ON BRANCH various_improvements
branch: various_improvements
CHANGE BRANCH
x
Reset
  • various_improvements
  • 98-query-ignore
  • NGAS-163
  • aiosmtpd
  • avoid-installing-bsddb3-in-py27
  • bbcp_fixes
  • c_client_warning_fixes
  • centos7-compatibility-changes
  • clone-fix
  • clone-order-fixes
  • correct-janitor-init
  • correct-logging-c
  • coverage-stability
  • direct_sql
  • doc-updates
  • docs-fix
  • document-future-removal-of-27
  • fits_optional_arcfile
  • fix-requests-dependency-specs
  • fs-monitor
  • fs-monitor-fixes
  • github-actions
  • improve-register-error-message
  • issue-103
  • issue-13
  • issue-38
  • issue-44
  • issue-50
  • issue-51
  • janitor-thread-startup
  • macos-hostnames
  • macos-travis-fix
  • macos-travis-update
  • master
  • netifaces-fix
  • next
  • no-create-venv
  • none-reg-parameters
  • partner_sites
  • plugins-importing
  • py311
  • py39
  • python-client-improvements
  • relaxed-netifaces
  • release-12.0
  • remove-2.7-builds
  • remove-test-generic-registration-plugin
  • requests-pinning
  • richer-archiving-event
  • separate-test-servers
  • servers-flag
  • small-improvements
  • smtp-testing
  • stream-proxy-request
  • subscription-def
  • subscription_thread_ng
  • travis-errors
  • travis-fixes
  • travis-focal
  • update-travis-matrix
  • uwe-fixes
  • v11
  • v12
  • v12.0
  • volumes

pending completion
332

push

travis-ci

rtobar
Don't let test sockets linger for too long

We have seen already in a few occasions that starting up a unit test
server in MacOS fails because its "address is in use". This is triggered
most easily when starting a cluster of servers, which I would guess adds
more pressure to the system. In any case, this is clearly caused by the
check we do on the port availability before starting the actual server.
Somehow the socket, which we explicitly close after bind(), is still
seen by the system. I couldn't find any documentation about this
apparent difference between MacOS and Linux, but at least it seems clear
that when enabling the SO_LINGER option a call to close() should return
immediately and should not defer the closing of the socket to a
background task on the kernel.

This solution seems to be working correctly, so we'll leave it in. This
method is currently used only at unit test time anyway, so setting this
option in this particular socket is harmless.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

12993 of 19079 relevant lines covered (68.1%)

4.75 hits per line

Relevant lines Covered
Build:
Build:
19079 RELEVANT LINES 12993 COVERED LINES
4.75 HITS PER LINE
Source Files on various_improvements
  • List 0
  • Changed 31
  • Source Changed 1
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
332 various_improvements Don't let test sockets linger for too long We have seen already in a few occasions that starting up a unit test server in MacOS fails because its "address is in use". This is triggered most easily when starting a cluster of servers, which I would... push 05 Apr 2019 07:28AM UTC rtobar travis-ci pending completion  
331 various_improvements Putting environment variable reading together This should make it easier for any external eyes to understand which variables make a difference when running the tests. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 05 Apr 2019 05:31AM UTC rtobar travis-ci pending completion  
330 various_improvements Condition.wait didn't signal timeouts until 3.2 Our previous code was relying on Condition.wait(timeout) to return False when a timeout occurred, but this wasn't implemented until python 3.2, which explains why our tests were randomly failing in ... push 05 Apr 2019 03:52AM UTC rtobar travis-ci pending completion  
329 various_improvements Trying to find out more about failures Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 05 Apr 2019 01:47AM UTC rtobar travis-ci pending completion  
328 various_improvements Typo in comment Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 04 Apr 2019 10:46AM UTC rtobar travis-ci pending completion  
322 various_improvements Really really correct sed Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 01 Apr 2019 08:51AM UTC rtobar travis-ci pending completion  
321 various_improvements Correct sed usage Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 01 Apr 2019 06:59AM UTC rtobar travis-ci pending completion  
319 various_improvements Putting things in order Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 01 Apr 2019 04:16AM UTC rtobar travis-ci pending completion  
318 various_improvements Notifications are not enabled by default anymore Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 01 Apr 2019 03:37AM UTC rtobar travis-ci pending completion  
304 various_improvements First try at enabling ssh connectivity Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> push 29 Mar 2019 06:16AM UTC rtobar travis-ci pending completion  
See All Builds (534)
  • Repo on GitHub
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