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

mybatis / redis-cache / 122
83%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2018 02:51AM UTC
Jobs 1
Files 7
Run time 1s
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
122

push

travis-ci

hazendaz
Resolved problems mentioned in last discussion with kryo serializer (#61)

* Fix unserialize bug when web application restart.
The situation as as following:
Start redis-server
1. Start web application.
2. Execute query and some objects are cached. -> Class is registered
3. Stop web application.
4. Start web application. 
5. KryoSerializer is initialized and no Class is registered yet.
6. Execute theKryoSerializer#unserialize() is invoked, but it fails
because Class is unknown.

* Modify effection problem when switch between kryo serializer and jdk
serializer in situation that certain class can not serialize with kryo
serializer(very rare)

* Abstract serializers to an interface in order to support various
serialize methods.

* Set kryo dependency to optional

* Add serializer interface

* Use JDKSerializer as fallback of KryoSerializer and add related
testcases.

* Make serializer configurable with redis.properties

* Add test case of unserialize object from a file

* Fix test NPE bug in JDK9

* Format java files and set default serializer to jdk.

* Fix test case bug of unserialize with kyro from file.

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

143 of 195 relevant lines covered (73.33%)

0.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/main/java/org/mybatis/caches/redis/SerializeUtil.java
5
100.0
src/main/java/org/mybatis/caches/redis/KryoSerializer.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/main/java/org/mybatis/caches/redis/SerializeUtil.java
Jobs
ID Job ID Ran Files Coverage
2 122.2 24 Jan 2018 02:51AM UTC 0
73.33
Travis Job 122.2
Source Files on build 122
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #122
  • 8ad3e118 on github
  • Prev Build on master (#116)
  • Next Build on master (#125)
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