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

ICRAR / ngas / 324
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Ran 04 Apr 2019 08:07AM UTC
Jobs 6
Files 161
Run time 14min
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
324

push

travis-ci

rtobar
Removing usage of ngamsCfgNoStreams.xml file

This file was basically a duplicate of ngamsCfg.xml, but without the
<Streams> element. However, every time we changed ngamsCfg.xml the
corresponding change (regardless of whether it was needed or not)
wouldn't necessarily make it into the *NoStreams.xml file. This lack of
synchronization between the files meant that until now we have
actually left a few things out from the *NoStreams version, like using
an arbitrary filesystem for testing, and other details.

This change completely removes the *NoStreams configuration file.
Instead, a configuration file is generated on the fly without a
<Streams> element *from* the ngamsCfg.xml file into the temporary
testing area. This removes the problem of getting out of sync, and takes
a step into the right direction of using a single configuration file for
testing.

The latest problem that triggered the decision of finally removing this
file was a lack of synchronization of the changes needed for
centralizing the volume directory scan during testing. Because I locally
use a Linux machine for development, and now that the simulation mode
doesn't exist anymore and the online plugins are always executed, the
tests using the NoStreams file passed fine in Linux machine, where the
modules being loaded by the linux online plugin actually exist more or
less ubiquitously. However, these tests failed in the Travis MacOS job,
where loading modules via "module load" is not even a thing. Instead of
adjusting the NoStreams configuration file to use the generic
online/offline plugins like its ngamsCfg.xml counterpart is doing now,
I decided to finally put an ends to its existence.

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

12863 of 19060 relevant lines covered (67.49%)

4.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 324.1 (DB=sqlite3) 04 Apr 2019 08:07AM UTC 0
67.26
Travis Job 324.1
2 324.2 (DB=mysql) 04 Apr 2019 08:07AM UTC 0
67.23
Travis Job 324.2
4 324.4 04 Apr 2019 08:21AM UTC 0
67.25
Travis Job 324.4
5 324.5 04 Apr 2019 08:07AM UTC 0
67.24
Travis Job 324.5
6 324.6 04 Apr 2019 08:18AM UTC 0
67.28
Travis Job 324.6
7 324.7 04 Apr 2019 08:18AM UTC 0
67.36
Travis Job 324.7
Source Files on build 324
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #324
  • 889364a0 on github
  • Prev Build on volumes (#323)
  • Next Build on volumes (#326)
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