- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestMatchTaint (0.19 sec)
-
pkg/apis/core/taint_test.go
for i, tc := range testCases { if tc.expectedString != tc.taint.ToString() { t.Errorf("[%v] expected taint %v converted to %s, got %s", i, tc.taint, tc.expectedString, tc.taint.ToString()) } } } func TestMatchTaint(t *testing.T) { testCases := []struct { description string taint *Taint taintToMatch Taint expectMatch bool }{ { description: "two taints with the same key,value,effect should match",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 16 13:06:01 UTC 2019 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/taint_test.go
for i, tc := range testCases { if tc.expectedString != tc.taint.ToString() { t.Errorf("[%v] expected taint %v converted to %s, got %s", i, tc.taint, tc.expectedString, tc.taint.ToString()) } } } func TestMatchTaint(t *testing.T) { testCases := []struct { description string taint *Taint taintToMatch Taint expectMatch bool }{ { description: "two taints with the same key,value,effect should match",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 16 13:06:01 UTC 2019 - 2.9K bytes - Viewed (0)