Closed mattcui closed 7 years ago
Hey mattcui!
Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.
@maximilien, I think we already addressed your comments, please help review again. Thanks.
/cc @EdwardStudy
Hi @maximilien,
Lance and I add 8 more tests for this method refine, there are three types: 1, Test Id and Subnet Id in network setting: 4 tests 2, Test Id and Subnet Id in cloudProps: 4 tests 3, Test Id and Subnet Id in both network setting and cloudProps: 4 tests
Below is the new unit test table which we added, please review and let us know if you have any suggestion. Thanks a lot! :)
PrimaryNetworkComponent | PrimaryBackendNetworkComponent | PrivateNetworkOnlyFlag |
---|---|---|
NETWORK (Id) | NETWORK (PSId) | NONE |
NONE | NETWORK (Id, PSId) | NETWORK |
NETWORK (Id, PSId) | NETWORK (Id) | NONE |
NETWORK (PSId) | NONE | CLOUDPROPS |
CLOUDPROPS (Id) | CLOUDPROPS (Id, PSId) | NONE |
CLOUDPROPS (Id, PSId) | NONE | CLOUDPROPS |
NONE | CLOUDPROPS (PSId) | NONE |
CLOUDPROPS (PSId) | CLOUDPROPS (Id) | CLOUDPROPS |
NE (Id), CL (Id, PSId) | NE (Id), CL (Id, PSId) | CLOUDPROPS |
NE (Id, PSId), CL (Id) | NE (Id, PSId), CL (Id) | NONE |
NE (Id), CL (PSId) | NE (PSId), CL (Id) | CLOUDPROPS |
NE (Id, PSId), CL (Id, PSId) | NE (Id, PSId), CL (Id, PSId) | NONE |
Thanks for the tests guys. Sorry it took so long to review. Merging :)
#137608987
Signed-off-by: Lance Liu, xliuxu <l.liu, xliuxu@gmail.com>