Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAnnotationUtils (0.26 sec)

  1. pkg/controller/deployment/util/deployment_util_test.go

    			if test.expected != maxUnavailable {
    				t.Fatalf("expected:%v, got:%v", test.expected, maxUnavailable)
    			}
    		})
    	}
    }
    
    // Set of simple tests for annotation related util functions
    func TestAnnotationUtils(t *testing.T) {
    
    	//Setup
    	tDeployment := generateDeployment("nginx")
    	tRS := generateRS(tDeployment)
    	tDeployment.Annotations[RevisionAnnotation] = "1"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
Back to top