kuryr-kubernetes/kuryr_kubernetes/tests/unit/cni
Alexey Perevalov 2128b6b3b4 Add container_id into VIFSriovDriver binding driver
Commit 0478a47502 which adds
container_id into connect/disconnect interface was merged
right before 4d53db2fdf "Add SR-IOV binding driver to CNI",
This and lack of unit test lead to inconsistency and run time
error. This commit fix this.

Also it adds unit tests for this case and minor fix for case
when we can accidentally return from VIFSriovDriver.connect before
._lock initialization.

Change-Id: I7fb50cd1dbd29b7be4dfbd7299b0013a9b9cafea
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
2018-11-08 13:54:47 +03:00
..
plugins Add container_id to connect method of BaseBindingDriver 2018-09-13 04:48:05 -04:00
__init__.py Prevent pyroute2.IPDB threads leaking 2017-11-17 12:30:54 +01:00
test_api.py Proceed CNI output in format of version 0.3.1 2018-07-04 13:04:35 +00:00
test_binding.py Add container_id into VIFSriovDriver binding driver 2018-11-08 13:54:47 +03:00
test_health.py Add HTTPS support to K8s API healthchecks 2018-04-17 16:43:46 +02:00
test_main.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_service.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_utils.py cni health: track all cgroup memory usage 2018-03-06 22:24:58 +01:00