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

ICRAR / daliuge / 616
81%

Build:
DEFAULT BRANCH: master
Ran 02 Dec 2020 08:49AM UTC
Jobs 6
Files 77
Run time 3min
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
616

push

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%)

6921 of 9182 relevant lines covered (75.38%)

3.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 616.1 (NO_DLG_RUNTIME=1) 02 Dec 2020 08:49AM UTC 0
63.36
Travis Job 616.1
2 616.2 (NO_DLG_TRANSLATOR=1) 02 Dec 2020 08:50AM UTC 0
81.51
Travis Job 616.2
4 616.4 02 Dec 2020 08:51AM UTC 0
75.27
Travis Job 616.4
5 616.5 02 Dec 2020 08:51AM UTC 0
75.27
Travis Job 616.5
6 616.6 02 Dec 2020 08:51AM UTC 0
75.25
Travis Job 616.6
7 616.7 02 Dec 2020 08:51AM UTC 0
75.22
Travis Job 616.7
Source Files on build 616
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #616
  • e749dce5 on github
  • Prev Build on master (#613)
  • Next Build on master (#617)
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