]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix random unit-test failure for NVP advanced plugin
authorKaiwei Fan <fank@vmware.com>
Mon, 28 Oct 2013 22:47:51 +0000 (15:47 -0700)
committerKaiwei Fan <fank@vmware.com>
Tue, 12 Nov 2013 00:05:46 +0000 (16:05 -0800)
commita52ef6ecf19b8b015465ddda2a3ca087f0e12122
tree2c78e24bee18cfb6aaa73bd6f8e7cb14c10f4519
parent99da250353b404733fa02776ce283aa760bc1cf8
Fix random unit-test failure for NVP advanced plugin

Two problems were observed:
1. Tasks are not scheduled as desired in greenthread. The fix is to
   increase the max status probing time from 1 second to 10 seconds.
2. An error message is show in unit-test log output. Turns out in
   addition to a bug that may cause task manager stop prematurely,
   another unit-test case test_vcns_driver can cause same error
   message being displayed in the log.

Change-Id: I697dd8fc509308108ff1f40400f36ac6271bf4bb
Close-Bug: 1245698
neutron/plugins/nicira/vshield/tasks/tasks.py
neutron/tests/unit/nicira/test_edge_router.py
neutron/tests/unit/nicira/test_vcns_driver.py