-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16386/
-----------------------------------------------------------

Review request for cloudstack and Girish Shilamkar.


Bugs: CLOUDSTACK-5518
    https://issues.apache.org/jira/browse/CLOUDSTACK-5518


Repository: cloudstack-git


Description
-------

The issue in 5518 is, if newly added vlan range is getting used by other test 
cases, then that range will get considered as used and we are trying to remove 
the unused range.
The problem reported by Rayees is not the exact issue. I have updated the 
comments in the bug accordingly.

I have changed the code in test case to minimize the time interval between 
adding the new range and removing it so as to minimize the probability of it 
getting used by other test cases dynamically.

Also cleaned up the imports and improved other test case.


Diffs
-----

  test/integration/component/test_non_contiguous_vlan.py 5ef1ec7 

Diff: https://reviews.apache.org/r/16386/diff/


Testing
-------

Tested locally:

Log:
test_01_add_non_contiguous_ranges 
(test_non_contiguous_vlan_fixed.TestNonContiguousVLANRanges) ... ok
test_02_add_existing_vlan_range 
(test_non_contiguous_vlan_fixed.TestNonContiguousVLANRanges) ... ok
test_03_extend_contiguous_range 
(test_non_contiguous_vlan_fixed.TestNonContiguousVLANRanges) ... ok
test_04_remove_unused_range 
(test_non_contiguous_vlan_fixed.TestNonContiguousVLANRanges) ... ok
test_05_remove_used_range 
(test_non_contiguous_vlan_fixed.TestNonContiguousVLANRanges) ... ok

----------------------------------------------------------------------
Ran 5 tests in 304.525s

OK


Thanks,

Gaurav Aradhye

Reply via email to