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

Nordstrom / serverless-artillery / 502
61%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix-service-name-bug-#96
DEFAULT BRANCH: master
Ran 30 Apr 2018 08:49PM UTC
Jobs 6
Files 15
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
502

push

travis-ci

erikerikson
Merge and Defaults Improvements + Bug Fixes

lib/lambda/funcHandle.js: improve merging of the event using lodash.merge and lodash.omit.  This enables the replacement of deep values in the script (so as to override portions rather than the entirety of an attribute in the script (e.g. a metrics sink configuration attribute within the script).  The alternative was duplicating the entirety of that attribute in the merge portion.
lib/lambda/funcHandle.spec.js: add deeper merge case, improve reflection of timeout as a milliseconds (not seconds) value.
lib/lambda/package.json: add lodash merge and omit

lib/lambda/taskDef.js: adjust default to compact the sampling traffic so as to reduce cost

lib/lambda/handler.js: the event executed is potentially not the event that specifies correct behavior.  Specifically, a single event produced from/by an acceptance/monitoring mode execution will look and act like a performance script irregardless of the expected treatment and behavior (i.e. report analysis and alerting), by adding the source event and using that this bug is fixed.
lib/lambda/handler.spec.js: add sourceEvent vs event check case.
lib/lambda/package.json: switch to a known license to avoid warning output from npm
lib/lambda/taskResult.js: fix bug where the settings had not been passed to analyzeMonitoring

lib/index.js: switch from using the ServerlessFiles array, indexing into it was fragile and caused bugs, to using ServerlessFile.  This duplicates the "serverless.yml" string but that's worth it.  Also fix function environment variables declarations that are references (rather than ending up with the reference function declarations as the values).  Resolve successful executions of invoke with the result returned by the target function (for use in tests or tools).  Add creation of `script.yml` if one doesn't exist, so that the serverless.yml's `${file(script.yml)}` reference is valid.  Last but not least, avoid new promise creation and synchronous write... (continued)

519 of 534 branches covered (97.19%)

Branch coverage included in aggregate %.

897 of 899 relevant lines covered (99.78%)

44.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 502.1 (NPM_VERSION=2) 30 Apr 2018 08:49PM UTC 0
16.19
Travis Job 502.1
2 502.2 (NPM_VERSION=2) 30 Apr 2018 08:50PM UTC 0
16.19
Travis Job 502.2
3 502.3 (NPM_VERSION=2) 30 Apr 2018 08:49PM UTC 0
98.81
Travis Job 502.3
4 502.4 (NPM_VERSION=3) 30 Apr 2018 08:49PM UTC 0
16.19
Travis Job 502.4
5 502.5 (NPM_VERSION=3) 30 Apr 2018 08:49PM UTC 0
16.19
Travis Job 502.5
6 502.6 (NPM_VERSION=3) 30 Apr 2018 08:51PM UTC 0
98.81
Travis Job 502.6
Source Files on build 502
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #502
  • 4ccf6259 on github
  • Prev Build on monitoring-mode (#498)
  • Next Build on monitoring-mode (#504)
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