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

nmstate / nmstate / 3240 / 5

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 09:16AM UTC
Files 34
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

28 Oct 2019 09:13AM UTC coverage: 66.032% (-0.05%) from 66.085%
DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py36"

push

travis-ci

cathay4t
nm ovs: Handle race problem when OVS bridge is deleting

The 'test_bridge_with_internal_interface' test case of 'nm/ovs_test.py'
might fail randomly on line:

    assert not _get_bridge_current_state()

Where _get_bridge_current_state() should return {}.

But when OVS bridge is deleted, libnm might still have the NMDevice
object for the bridge while it has empty data in it, in that case,
we got:

    {
        'bridge': {
            'port': [],
            'options': {}
        }
    }

In order to fix the above scenario, treat the data as if the interface
does not exist and return `{}`.

Signed-off-by: Gris Ge <fge@redhat.com>

2010 of 3044 relevant lines covered (66.03%)

0.66 hits per line

Source Files on job 3240.5 (DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py36")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2478
  • Travis Job 3240.5
  • 2b526b85 on github
  • Prev Job for DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py36" on master (#3237.5)
  • Next Job for DOCKER_IMAGE=nmstate/fedora-nmstate-dev testflags="--test-type unit_py36" on master (#3245.5)
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