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

mp911de / lettuce / 1082
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: 5.x
DEFAULT BRANCH: master
Ran 17 Aug 2016 06:12PM UTC
Jobs 2
Files 241
Run time 1min
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
1082

push

travis-ci

mp911de
Add ConnectionWatchdog as last handler #335

The reuse of handlers causes multiple calls to channelActive/channelInactive/and so on. In some cases, the reconnection is faster than channel deregistration (calls to channelUnregistered) which leads to the call sequence channelRegistered (new channel), channelUnregistered (old channel). Similar for channelActive/channelInactive. This is handled inside the CommandHandler but can still lead to issues. Moving the ConnectionWatchdog to the end reduces the probability of the calls coming in the wrong order. It fixes also the channelActive/channelInactive order in fast reconnect scenarios as the channelInactive call is done before notifying the ConnectionWatchdog.

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

9366 of 10202 relevant lines covered (91.81%)

1.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java
Jobs
ID Job ID Ran Files Coverage
1 1082.1 (PROFILE=netty-40) 17 Aug 2016 06:14PM UTC 0
91.63
Travis Job 1082.1
2 1082.2 (PROFILE=netty-41next) 17 Aug 2016 06:12PM UTC 0
91.57
Travis Job 1082.2
Source Files on build 1082
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1082
  • ae701021 on github
  • Prev Build on 4.2.x (#1079)
  • Next Build on 4.2.x (#1084)
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