We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e568f6c commit 26710dcCopy full SHA for 26710dc
controllers/sandbox_controller_test.go
@@ -57,13 +57,16 @@ func TestComputeReadyCondition(t *testing.T) {
57
r := &SandboxReconciler{}
58
59
testCases := []struct {
60
- name string
61
- sandbox *sandboxv1alpha1.Sandbox
62
- err error
63
- svc *corev1.Service
64
- pod *corev1.Pod
65
- expectedStatus metav1.ConditionStatus
66
- expectedReason string
+ name string
+ sandbox *sandboxv1alpha1.Sandbox
+ err error
+ svc *corev1.Service
+ pod *corev1.Pod
+ beforeReady *metav1.Condition
+ expectedStatus metav1.ConditionStatus
67
+ expectedReason string
68
+ expectMetric bool
69
+ expectedMetricDiff float64
70
}{
71
{
72
name: "all ready",
0 commit comments