mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
WaitForCacheSync fail should return for service controller
This commit is contained in:
@@ -506,7 +506,7 @@ func TestProcessServiceDeletion(t *testing.T) {
|
||||
},
|
||||
expectedFn: func(svcErr error, retryDuration time.Duration) error {
|
||||
|
||||
expectedError := "Service external-balancer not in cache even though the watcher thought it was. Ignoring the deletion."
|
||||
expectedError := "service external-balancer not in cache even though the watcher thought it was. Ignoring the deletion"
|
||||
if svcErr == nil || svcErr.Error() != expectedError {
|
||||
//cannot be nil or Wrong error message
|
||||
return fmt.Errorf("Expected=%v Obtained=%v", expectedError, svcErr)
|
||||
|
||||
Reference in New Issue
Block a user