-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unit test TestReconcile #5798
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of questions, otherwise lgtm
ContainerID: generateUUID(t), | ||
}, | ||
} | ||
unconnectedInterface := &interfacestore.InterfaceConfig{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this one is mostly useful for Windows testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but it's also meaningful to validate linux does nothing for it.
PodNamespace: testPodNamespace, | ||
ContainerID: generateUUID(t), | ||
}, | ||
normalInterface := &interfacestore.InterfaceConfig{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't try to diff the interface definitions, but is there a significant difference between the Linux and Windows versions of the test interfaces, or could we use a shared definition in a common file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no difference, I have moved them to common file.
cniServer.reconcile() now installs flows asynchorously. Signed-off-by: Quan Tian <qtian@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/skip-all |
cniServer.reconcile() now installs flows asynchorously. Signed-off-by: Quan Tian <qtian@vmware.com>
cniServer.reconcile() now installs flows asynchorously. Signed-off-by: Quan Tian <qtian@vmware.com>
cniServer.reconcile() now installs flows asynchorously. Signed-off-by: Quan Tian <qtian@vmware.com>
cniServer.reconcile() now installs flows asynchorously.
Fixes #5796