Comment 9 for bug 1470438

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

Reviewed: https://review.opencontrail.org/12726
Committed: http://github.org/Juniper/contrail-controller/commit/e791866d064bad04aaed0d46ff906114cf1b9b15
Submitter: Zuul
Branch: R2.22-dev

commit e791866d064bad04aaed0d46ff906114cf1b9b15
Author: Praveen K V <email address hidden>
Date: Wed Jul 8 00:03:37 2015 +0530

Fix UT to run consistently

Fix following UTs to run consistently
vnsw/agent/test/test_dummy
vnsw/agent/filter/test/acl_test
vnsw/agent/oper/test/test_fabric_interface
vnsw/agent/pkt/test/test_xml_packet_ut
vnsw/agent/test/test_cfg
vnsw/agent/ovs_tor_agent/ovsdb_client/test/test_ovs_route
vnsw/agent/openstack/test/nova_info_server_test
vnsw/agent/pkt/test/test_pkt_fip

Following changes done on operational-db in the process
1. Handle duplicate delete of instance-server message for a VMI in
CfgIntTable::Delete
2. In instance_service_server.cc, ignore the message if both IPv4 and
IPv6 addresses are invalid
3. In vrf.cc, track the db-tables that are deleted in a bit-map.
4. Modify AgentRouteTables to use DBTable::MayDelete() to find when
DBTable can be deleted. This takes care of waiting for all route-table
walks before DBTable is deleted

Conflicts:
 src/vnsw/agent/test/test_cfg.cc

Change-Id: I64fce63f3e20017324270d7547d4713e494e6e82
Closes-Bug: #1470438