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

TykTechnologies / tyk / 8426 / 2
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 01 Mar 2020 03:29PM UTC
Files 86
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

01 Mar 2020 03:19PM UTC coverage: 60.929% (+0.02%) from 60.909%
LATEST_GO=true

push

travis-ci

Tyk Bot
coprocess_python: makes sure that PyBytesFromString releases memory. (#2895)

Fix for #2894, similar to #1886:

1. Implemented bindings for `Py_IncRef`, `Py_DecRef` and `PyTuple_ClearFreeList` (could be potentially used).
2. Corrected `free` call in `PyBytesFromString`.
3. Added refcount handlers in `coprocess_python.go`.

With this patch, GC object count looks better over time (using the middleware attached in #2894):

```
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
```

Under some scenarios, additional tweaks might be required (either on the plugin side or Tyk Python code side) to run the GC collection more often, etc.

(cherry picked from commit 0f8d8813d)

10871 of 17842 relevant lines covered (60.93%)

148.92 hits per line

Source Files on job 8426.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 26
  • Source Changed 1
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7176
  • Travis Job 8426.2
  • 084b14ab on github
  • Prev Job for LATEST_GO=true on release-2.9 (#8417.2)
  • Next Job for LATEST_GO=true on release-2.9 (#8457.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