Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for expectedNames (0.16 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				switch tt.object.(type) {
    				case *v1.Pod:
    					if _, ok := v.Object.(*v1.Pod); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" {
    						t.Errorf("unexpected info: %v", dump.Pretty(v.Object))
    					}
    				case *v1.ReplicationController:
    					if _, ok := v.Object.(*v1.ReplicationController); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" {
    						t.Errorf("unexpected info: %v", dump.Pretty(v.Object))
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server_test.go

    	fw := newServerTest()
    	defer fw.testHTTPServer.Close()
    
    	// method:path -> has coverage
    	expectedCases := map[string]bool{}
    
    	// Test all the non-web-service handlers
    	for _, path := range fw.serverUnderTest.restfulCont.RegisteredHandlePaths() {
    		expectedCases["GET:"+path] = false
    		expectedCases["POST:"+path] = false
    	}
    
    	// Test all the generated web-service paths
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. pkg/controller/history/controller_history_test.go

    				t.Errorf("%s: wanted rename got %s %s", test.name, created.Name, test.revision.Name)
    			}
    			expectedName := ControllerRevisionName(test.parent.GetName(), HashControllerRevision(test.revision, &collisionCount))
    			if created.Name != expectedName {
    				t.Errorf("%s: on name collision wanted new name %s got %s", test.name, expectedName, created.Name)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
Back to top