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

ICRAR / ngas / 324 / 4
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Ran 04 Apr 2019 08:21AM UTC
Files 161
Run time 10s
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

04 Apr 2019 07:50AM UTC coverage: 67.252% (-0.4%) from 67.686%
324.4

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>

12821 of 19064 relevant lines covered (67.25%)

0.67 hits per line

Source Files on job 324.4
  • Tree
  • List 0
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 284
  • Travis Job 324.4
  • 889364a0 on github
  • Prev Job for on volumes (#323.5)
  • Next Job for on volumes (#326.5)
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