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

ovn-org / ovn-kubernetes / 7421619587
53%

Build:
DEFAULT BRANCH: master
Ran 05 Jan 2024 12:31PM UTC
Jobs 1
Files 216
Run time 14s
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

04 Jan 2024 09:36AM UTC coverage: 50.663% (-0.005%) from 50.668%
7421619587

push

github

jcaamano
Fix informer_test: adds existing pod and processes an update event

When starting the informer factory and the worker thread, a delay
may occur between the informer being deemed synced and the worker
completely starting. Due to this, the test could fail as add and
update pod events might coalesce into a single event for the
worker. This change proposes a fix that ensures the worker is fully
initialized before updating the pod.

Step used to reproduce this issue. Should fail after a few iterations.

$ cd go-controller ; \
  while : ; do \
  go test -mod=vendor -test.v \
  -race github.com/ovn-org/ovn-kubernetes/go-controller/pkg/informer \
  -ginkgo.v \
  -ginkgo.focus='adds existing pod and processes an update event' \
  -ginkgo.reportFile /dev/null && echo ok || break ; \
  sleep 1 ; done

Fixes: https://github.com/ovn-org/ovn-kubernetes/issues/3946
Reported-at: https://issues.redhat.com/browse/SDN-4181
Signed-off-by: Flavio Fernandes <flaviof@redhat.com>

26222 of 51758 relevant lines covered (50.66%)

87.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7421619587.1 05 Jan 2024 12:31PM UTC 0
50.66
GitHub Action Run
Source Files on build 7421619587
Detailed source file information is not available for this build.
  • Back to Repo
  • 473922a1 on github
  • Prev Build on master (#7416360708)
  • Next Build on master (#7428088937)
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