Stablize bgp_xmpp_rtarget_test unit test

Bug #1760042 reported by Ananth Suryanarayana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Ananth Suryanarayana

Bug Description

Show command output verification is not correctly retried, causing this test show some flakiness.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41224
Submitter: Ananth Suryanarayana (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/41224
Committed: http://github.com/Juniper/contrail-controller/commit/6378efd43d3a49835a72a30a0c9e1c6083d260f7
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 6378efd43d3a49835a72a30a0c9e1c6083d260f7
Author: Ananth Suryanarayana <email address hidden>
Date: Fri Mar 30 00:51:49 2018 -0700

Correctly retry show command output verification in bgp_xmpp_rtarget_test

In bgp_xmpp_rtarget_test, output verification was retried with in the show
command callback. This is not useful because if the show output is not what
is expected, retry was done on the same exact data already returned by sandesh
introspect.

Instead retry the entire function which issues sandesh introspect request and
then verify the output returned inside the sandesh callback routine (without
retry)

Change-Id: Id2c066c514938738ae7be8ac91f9a58510fcc9c4
Closes-Bug: 1760042

Jeba Paulaiyan (jebap)
tags: added: contrail-control
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.