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

mp911de / lettuce / 134
92%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2015 05:04AM UTC
Jobs 1
Files 117
Run time 48s
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
134

Pull #27

travis-ci

kichik
Fix channel loss on reconnect
The scenario requires two or more close-by disconnections
1. Connect to Redis
2. Subscribe successfully to a channel
3. Forcibly kill the connection (by taking down Redis for example)
4. Let lettuce reconnect successfully
5. Forcibly kill the connection again right before activate() successfully subscribes
6. Let lettuce reconnect successfully
7. RedisPubSubConnectionImpl.channels is empty and the channel will stay unsubscribed

There doesn't seem to be a reason to clear out channels and patterns.
It is only used for persistence over different connections.
There is no downside to having a channel in that set even if the subscription was not successful.
Pull Request #27: Fix channel loss on reconnect

3508 of 3643 relevant lines covered (96.29%)

0.96 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
com/lambdaworks/redis/pubsub/RedisPubSubConnectionImpl.java
Jobs
ID Job ID Ran Files Coverage
2 134.2 31 Jan 2015 05:04AM UTC 0
96.29
Travis Job 134.2
Source Files on build 134
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #134
  • Pull Request #27
  • PR Base - master (#133)
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