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

ICRAR / daliuge / 626
81%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2020 02:33AM UTC
Jobs 3
Files 77
Run time 2min
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

pending completion
626

cron

travis-ci-com

rtobar
Skip connection monitoring for connected endpoints

In 67b58ac we introduced a mechanism through which we ensure an actual
connection is made when setting up a subscription from a SUBSCRIBE
socket in order to avoid missing incoming events. While this first
implementation worked as intended, it didn't take into account the use
case when a second session/graph is deployed over existing, already
connected node managers; in those cases the system would try to issue a
new subscription through the SUBSCRIBE socket but without activity
happening on the corresponding monitor socket (a connection is
never made because it already exists). This in turn means that the
threading Event used to alert the caller about the connecting being
ready is never set, leading in turn to an error raised on the caller
side alerting about the situation.

This commit adds support for keeping track of the endpoints the
SUBSCRIBE socket is already connected to. This information is used to
then simply skip re-subscription to these endpoints, quickly letting the
caller know that the subscription is established.

A new unit test (for which existing infrastructure had to be slightly
adjusted) showcases the scenario (starts two successive sessions on the
same set of node managers). This is representative of the original
problem, and will ensure it doesn't happen in the future.

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

8 of 8 new or added lines in 1 file covered. (100.0%)

6920 of 9194 relevant lines covered (75.27%)

1.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 626.1 (NO_DLG_RUNTIME=1) 22 Dec 2020 02:33AM UTC 0
63.36
Travis Job 626.1
4 626.4 22 Dec 2020 02:35AM UTC 0
75.27
Travis Job 626.4
7 626.7 22 Dec 2020 02:36AM UTC 0
75.22
Travis Job 626.7
Source Files on build 626
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #626
  • e749dce5 on github
  • Prev Build on master (#619)
  • Next Build on master (#627)
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

© 2026 Coveralls, Inc