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

TykTechnologies / tyk / 6706

Build:
DEFAULT BRANCH: master
Ran 27 May 2019 04:46PM UTC
Jobs 1
Files 111
Run time 7s
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
6706

push

travis-ci

web-flow
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

11323 of 17746 relevant lines covered (63.81%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
2 6706.2 (LATEST_GO=true) 27 May 2019 04:46PM UTC 0
63.81
Travis Job 6706.2
Source Files on build 6706
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6706
  • b248c191 on github
  • Prev Build on master (#6695)
  • Next Build on master (#6715)
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