Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for actualNodes (0.27 sec)

  1. pkg/controller/garbagecollector/dump_test.go

    		t.Run(test.name, func(t *testing.T) {
    			actualNodes, actualEdges := toDOTNodesAndEdgesForObj(test.uidToNode, test.uids...)
    			compareGraphs(test.expectNodes, actualNodes, test.expectEdges, actualEdges, t)
    		})
    	}
    }
    
    func compareGraphs(expectedNodes, actualNodes []*dotVertex, expectedEdges, actualEdges []dotEdge, t *testing.T) {
    	if len(expectedNodes) != len(actualNodes) {
    		t.Fatal(dump.Pretty(actualNodes))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. pkg/volume/downwardapi/downwardapi_test.go

    	if err != nil {
    		test.t.Errorf(err.Error())
    		return
    	}
    
    	actualMode := fileInfo.Mode()
    	expectedMode := os.FileMode(step.expectedMode)
    	if actualMode != expectedMode {
    		test.t.Errorf("Found mode `%v` expected %v", actualMode, expectedMode)
    	}
    }
    
    type reSetUp struct {
    	stepName
    	linkShouldChange bool
    	newLabels        map[string]string
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. hack/lib/test.sh

          result=1
      fi
      if [ "${actualcode}" -ne "${expectedcode}" ]; then
          echo "${bold}${red}"
          echo "$(kube::test::get_caller): FAIL!"
          echo "Return code for ${message}"
          echo "  Expected: ${expectedcode}"
          echo "  Got:      ${actualcode}"
          echo "${reset}${red}"
          caller
          echo "${reset}"
          result=1
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 16:46:34 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            StringBuilder matched = new StringBuilder()
            expectedSorted.each { node ->
                def actualNode = actualSorted.find { it.id == node.id }
    
                if (!actualNode) {
                    errors.append("Expected to find node ${node.id} but wasn't present in result\n")
                } else if (!node.diff(actualNode, errors)) {
                    matched.append("   - $node\n")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top