Files
kubernetes/test/utils
Dave Chen b9d9a5ebed Make sure the volume name is not empty when the PVC is bound
Current logic to check whether a PVC is fully bound are:
1. PVC's volume name is not empty
2. Annotation "pv.kubernetes.io/bind-completed" is properly set

The behavior in the test case only set the annotation, and leave the
volume name to be set by a `FakePVController`.

This will cause a problem for us to run some testcase like scheduler's
perf test, scheduling pod with volume as an example, the first try will
always hit "unbound immediate PersistentVolumeClaims" exception.

As a result, the metric data "schedule_attempts_total", or "scheduling_algorithm_duration_seconds"
will not accurate enough.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-11 16:57:51 +08:00
..
2019-09-05 23:44:19 +08:00
2020-05-16 07:54:33 -04:00
2017-10-15 18:18:13 -07:00
2017-09-25 15:42:21 +08:00
2020-02-07 18:16:47 -08:00
2020-02-08 12:30:21 -05:00
2020-05-16 07:54:27 -04:00