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

nolar / kopf / 186 / 8
87%
main: 91%

Build:
Build:
LAST BUILD BRANCH: docs-furo-theme
DEFAULT BRANCH: main
Ran 06 Sep 2020 04:51PM UTC
Files 56
Run time 2s
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

06 Sep 2020 04:41PM UTC coverage: 86.593%. First build
CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.13.12 CLIENT=no CRDAPI=v1beta1

push

travis-ci

nolar
Remove the influence of watcher-workers exit polling, use async primitives

Previously, the 1/100th of the exit timeout could be a significant part
of overall timing of the watchers; especially in the unit-tests, where
the exit timeout is artificially set high enough (e.g. 100 seconds).

Now, asynchronous primitives are used to signal that the streams/jobs
have changed, and it is worth re-checking the streams depletion, and
exit the watcher if all the streams are depleted.

One special edge-case to consider: the last worker's signal will finish
the depletion waiter due to empty streams (the predicate becomes true).
However, when the signaller is notified, the worker job itself is still running.
It is assumed that the job finishes immediately after the notification,
specifically within the scheduler's `close_timeout` (0.1s), so that the watcher
can close the scheduler without any issues or leftovers.

This change allows the watcher-workers-queueing tests to be adjusted for proper
timing, so that we ignore the overhead introduced by polling the scheduler at
regular time intervals.

The overhead measurements still remain: they are needed to compare the timing
to near-zero values (i.e. code execution without sleeps/waits), which can vary
across environments (developers' workstations, CI/CD containers and instances).

1154 of 1390 branches covered (83.02%)

Branch coverage included in aggregate %.

3393 of 3861 relevant lines covered (87.88%)

0.88 hits per line

Source Files on job 186.8 (CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.13.12 CLIENT=no CRDAPI=v1beta1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 966
  • Travis Job 186.8
  • 7bddccba on github
  • Next Job for CHANGE_MINIKUBE_NONE_USER=true KUBECONFIG=$HOME/.kube/config MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTREPORTERRORPROMPT=false MINIKUBE_IN_STYLE=true MINIKUBE_HOME=$HOME MINIKUBE_VERSION=latest KUBERNETES_VERSION=v1.13.12 CLIENT=no CRDAPI=v1beta1 on refactor-watcher-depletion (#187.8)
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