Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 107 for testCode (0.23 sec)

  1. operator/pkg/helmreconciler/wait.go

    // until all are ready or a timeout is reached
    func WaitForResources(objects object.K8sObjects, client kube.Client,
    	waitTimeout time.Duration, dryRun bool, l *progress.ManifestLog,
    ) error {
    	if dryRun || TestMode {
    		return nil
    	}
    
    	if err := waitForCRDs(objects, client); err != nil {
    		return err
    	}
    
    	var notReady []string
    	var debugInfo map[string]string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            for (ClassNode testNode : outerClasses) {
                val = new ConstructedNestedClass(testNode, type.getName());
                if (resolveFromCompileUnit(val)) {
                    type.setRedirect(val);
                    return true;
                }
                // also check interfaces in case we have interfaces with nested classes
                for (ClassNode next : testNode.getAllInterfaces()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    			c.Fuzz(obj)
    
    			// Find a codec for converting the object to raw bytes.  This is necessary for the
    			// api version and kind to be correctly set be serialization.
    			var codec = apitesting.TestCodec(codecs, metav1.SchemeGroupVersion)
    
    			// Convert the object to raw bytes
    			bytes, err := runtime.Encode(codec, obj)
    			if err != nil {
    				panic(fmt.Sprintf("Failed to encode object: %v", err))
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    		description               string
    		testPod                   *v1.Pod
    		expectedContainerOptsLen  []int
    		expectedAllocatedResName1 int
    		expectedAllocatedResName2 int
    		expErr                    error
    	}{
    		{
    			description:               "Successful allocation of two Res1 resources and one Res2 resource",
    			testPod:                   testPods[0],
    			expectedContainerOptsLen:  []int{3, 2, 2},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. pilot/pkg/security/authn/policy_applier_test.go

    		},
    	}
    
    	testNode := &model.Proxy{
    		Labels: map[string]string{
    			"app": "foo",
    		},
    		Metadata: &model.NodeMetadata{},
    	}
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := newPolicyApplier("root-namespace", nil, tc.peerPolicies, &model.PushContext{}).InboundMTLSSettings(
    				8080,
    				testNode,
    				[]string{},
    				NoOverride,
    			)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            return result
        }
    
        private static class TestNode extends CreationOrderedNode implements SelfExecutingNode {
            final Throwable failure
            final String name
            final List<Node> preExecuteNodes
            final List<Node> postExecuteNodes
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    		"spec":{
    			"containers":[{"name":"container","image":"container"}],
    			"activeDeadlineSeconds":1000030003
    		}
    	}`)
    
    	pod := &testapigroup.Carp{}
    
    	_, codecs := TestScheme()
    	codec := apitesting.TestCodec(codecs, schema.GroupVersion{Group: "", Version: runtime.APIVersionInternal})
    
    	err := runtime.DecodeInto(codec, originalJSON, pod)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			updateReactor: func() func(action testcore.Action) (bool, runtime.Object, error) {
    				i := 0
    				return func(action testcore.Action) (bool, runtime.Object, error) {
    					if action.GetVerb() == "update" && action.GetResource().Resource == "pods" && action.GetSubresource() == "status" {
    						i++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top