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

aws / aws-sdk-ruby / 1726
92%
master: 97%

Build:
Build:
LAST BUILD BRANCH: v2.11.632
DEFAULT BRANCH: master
Ran 14 Jan 2016 12:06AM UTC
Jobs 11
Files 277
Run time 4min
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
1726

push

travis-ci

trevorrowe
Resolved an issue with EC2 request ids.

This is a regression from when we switched to stream parsing the XML.
Older versions of the SDK parsed the entire XML document into a DOM,
and then walked that DOM to parse the values. Because the entire
document was no longer available in memory, the parser could no
longer yield it as a hash. This caused the EC2 protocol handler
to silently fail, no longer able to populate the request ID.

This update adds a callback to the XML parser that yields when
un-modeled/un-handled XML values are present in the response. The
EC2 handler registers a callback and checks the context/path
of the unhandled value and captures it if it is the request id.

To prevent a regression in the future, a unit test was added to ensure
the EC2 client correctly extracts the request id from the HTTP response
body and stores it in the response context.

Fixes #1038

40 of 40 new or added lines in 4 files covered. (100.0%)

7446 of 8131 relevant lines covered (91.58%)

6699.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb
Jobs
ID Job ID Ran Files Coverage
1 1726.1 (1.9.3, PURE_RUBY=1) 14 Jan 2016 12:07AM UTC 0
90.84
Travis Job 1726.1
2 1726.2 (1.9.3, KITCHEN_SINK=1) 14 Jan 2016 12:08AM UTC 0
91.49
Travis Job 1726.2
3 1726.3 (2.0.0, PURE_RUBY=1) 14 Jan 2016 12:07AM UTC 0
90.88
Travis Job 1726.3
4 1726.4 (2.0.0, KITCHEN_SINK=1) 14 Jan 2016 12:08AM UTC 0
91.53
Travis Job 1726.4
5 1726.5 (2.1, PURE_RUBY=1) 14 Jan 2016 12:06AM UTC 0
90.88
Travis Job 1726.5
6 1726.6 (2.1, KITCHEN_SINK=1) 14 Jan 2016 12:09AM UTC 0
91.53
Travis Job 1726.6
7 1726.7 (2.2, PURE_RUBY=1) 14 Jan 2016 12:08AM UTC 0
90.88
Travis Job 1726.7
8 1726.8 (2.2, KITCHEN_SINK=1) 14 Jan 2016 12:09AM UTC 0
91.53
Travis Job 1726.8
9 1726.9 (2.3.0, PURE_RUBY=1) 14 Jan 2016 12:09AM UTC 0
90.88
Travis Job 1726.9
10 1726.10 (2.3.0, KITCHEN_SINK=1) 14 Jan 2016 12:10AM UTC 0
91.53
Travis Job 1726.10
11 1726.11 (jruby, PURE_RUBY=1) 14 Jan 2016 12:10AM UTC 0
89.84
Travis Job 1726.11
Source Files on build 1726
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1726
  • ec1b4e1c on github
  • Next Build on ec2-request-id-fix (#1729)
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

© 2025 Coveralls, Inc