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

TykTechnologies / tyk / 6707 / 1
62%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 27 May 2019 04:48PM UTC
Files 106
Run time 4s
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:39PM UTC coverage: 62.693% (+0.06%) from 62.632%
LATEST_GO=true

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

Source Files on job 6707.1 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6122
  • Travis Job 6707.1
  • b24bc3cd on github
  • Prev Job for LATEST_GO=true on release-2.8 (#6697.1)
  • Next Job for LATEST_GO=true on release-2.8 (#6716.1)
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