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

TykTechnologies / tyk / 6707
62%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 27 May 2019 04:48PM UTC
Jobs 1
Files 106
Run time 6s
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
6707

push

travis-ci

buger
Fix JWT expiration (#2310)

With code added in #1849 we made JWT keys set expiration on keys (pick
    whatever bigger either policy or token value)

However this change introduce bug in situation when policy is set to
"Never Expire" (or just lower then JWT value):
if JWT key expire its expiration value gets hold in session value, and
never gets overriden, even if JWT token gets re-issued.

The bug itself consists of two parts.
1) Code which should update the session for alredy existing JWT token
gets run ONLY if policy ID has changed
2) Code above updates only local session cache, but not propagate change
to the Redis

This PR fix both 1) and 2), and adds test coverting this issue.

Fix #2304

10656 of 16997 relevant lines covered (62.69%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6707.1 (LATEST_GO=true) 27 May 2019 04:48PM UTC 0
62.69
Travis Job 6707.1
Source Files on build 6707
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6707
  • b24bc3cd on github
  • Prev Build on release-2.8 (#6697)
  • Next Build on release-2.8 (#6716)
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