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

TykTechnologies / tyk / 6706 / 2

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

27 May 2019 04:34PM UTC coverage: 63.806% (+0.07%) from 63.736%
LATEST_GO=true

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

Source Files on job 6706.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6121
  • Travis Job 6706.2
  • b248c191 on github
  • Prev Job for LATEST_GO=true on master (#6695.2)
  • Next Job for LATEST_GO=true on master (#6715.2)
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