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

GoogleCloudPlatform / google-cloud-java / 4154
80%
master: 72%

Build:
Build:
LAST BUILD BRANCH: resource-manager
DEFAULT BRANCH: master
Ran 03 Jul 2017 08:27AM UTC
Jobs 1
Files 457
Run time 20s
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
4154

Pull #2212

travis-ci

web-flow
pubsub: enable streaming pull

Moving this to a branch.
If nothing else, we should perf test this before
declaring it release-ready.

This commit re-enables streaming pull.
Unlike previous implementation,
it does not fall back to polling if streaming is unavailable,
since the streaming pull endpoint should be working
by the time this is released.

This commit fixes a bug deadline modification code.
Previously we record an Instant we receive a message,
then call Instant::getNano to get the time in nanoseconds.
This is incorrect since getNano returns the nanosecond
from the beginning of that second, not since an epoch.
The fix is to simply save the time since epoch instead of Instant.

This commit also slightly changes how errors are logged,
so that errors that occur after the service is being shut down
don't spam the console.
Pull Request #2212: pubsub: enable streaming pull

49 of 49 new or added lines in 3 files covered. (100.0%)

19670 of 24225 relevant lines covered (81.2%)

57900.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java
6
100.0
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StreamingSubscriberConnection.java
2
100.0
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java
13
100.0
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java
45
100.0
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/PollingSubscriberConnection.java
Jobs
ID Job ID Ran Files Coverage
2 4154.2 03 Jul 2017 08:27AM UTC 0
81.2
Travis Job 4154.2
Source Files on build 4154
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4154
  • Pull Request #2212
  • PR Base - pubsub-streaming-pull (#4152)
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