Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,046 for expecting (0.94 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    	_, _, err := waitForFormatErasure(true, endpoints, 1, 0, 16, "")
    	if err != errInvalidArgument {
    		t.Fatalf("Expecting error, got %s", err)
    	}
    
    	_, _, err = waitForFormatErasure(true, nil, 1, 1, 16, "")
    	if err != errInvalidArgument {
    		t.Fatalf("Expecting error, got %s", err)
    	}
    
    	// Initializes all erasure disks
    	storageDisks, format, err := waitForFormatErasure(true, endpoints, 1, 1, 16, "")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/CompilationTrace.kt

        fun assertScriptCompile(stage: CachedScript.CompilationStage) {
            val description = operationDescription(stage)
            require(operations.any { it.contains(description) }) {
                "Expecting operation `$description`!"
            }
        }
    
        fun assertNoScriptCompile(stage: CachedScript.CompilationStage) {
            val description = operationDescription(stage)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcess.java

         */
        Optional<ExecResult> getExecResult();
    
        JvmMemoryStatus getJvmMemoryStatus();
    
        /**
         * Stop the associated process without expecting a normal exit value.
         */
        void stopNow();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 21:45:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/authz.go

    				if err != nil {
    					return fmt.Errorf("failed to get config dump from pod %s in %s", podName, podNamespace)
    				}
    			} else {
    				return fmt.Errorf("expecting pod name or config dump, found: %d", len(args))
    			}
    
    			analyzer, err := NewAnalyzer(configDump)
    			if err != nil {
    				return err
    			}
    			analyzer.Print(cmd.OutOrStdout())
    			return nil
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    	updatedAt := UTCNow()
    
    	for _, file := range zr.File {
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    			continue
    		}
    		bucket := slc[0]
    		meta, err := readBucketMetadata(ctx, objectAPI, bucket)
    		if err == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. pkg/version/cobra_test.go

    			v.cmd.SetArgs(strings.Split(v.args, " "))
    			var out bytes.Buffer
    			v.cmd.SetOut(&out)
    			v.cmd.SetErr(&out)
    			err := v.cmd.Execute()
    
    			if !v.expectFail && err != nil {
    				t.Errorf("Got %v, expecting success", err)
    			}
    			if v.expectFail && err == nil {
    				t.Errorf("Expected failure, got success")
    			}
    		})
    	}
    }
    
    var meshEmptyVersion = MeshInfo{}
    
    var meshInfoSingleVersion = MeshInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractFailure.java

            }
        }
    
        @Override
        public void assertHasCauses(int count) {
            if (causes.size() != count) {
                throw new AssertionFailedError(String.format("Expecting %d cause(s), got %d", count, causes.size()));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt

        try {
            block()
        } catch (e: Throwable) {
            assertThat(e, instanceOf(exception.java))
            @Suppress("unchecked_cast")
            return e as T
        }
        fail("Expecting exception of type `$exception`, got none.")
        throw IllegalStateException()
    }
    
    
    inline fun <reified T> withInstanceOf(o: Any, block: T.() -> Unit) {
        block(assertInstanceOf<T>(o))
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top