Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for expectActions (0.17 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/TestPrecondition.java

     * limitations under the License.
     */
    package org.gradle.test.precondition;
    
    /**
     * Usage:
     * <pre>
     * <code>@</code>Requires(TestPrecondition.JDK17_OR_LATER)
     * def "test with environment expectations"() {
     *     // the test is executed with Java 17 or later
     * }
     * </pre>
     *
     * @see Requires
     */
    public interface TestPrecondition {
    
        /**
         * Returns true if the precondition is satisfied.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/structs/hostlayout.go

    // license that can be found in the LICENSE file.
    
    package structs
    
    // HostLayout marks a struct as using host memory layout. A struct with a
    // field of type HostLayout will be laid out in memory according to host
    // expectations, generally following the host's C ABI.
    //
    // HostLayout does not affect layout within any other struct-typed fields
    // of the containing struct, nor does it affect layout of structs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	}
    
    	// Check the expectations of the job before counting active pods, otherwise a new pod can sneak in
    	// and update the expectations after we've retrieved active pods from the store. If a new pod enters
    	// the store after we've checked the expectation, the job sync is just deferred till the next relist.
    	satisfiedExpectations := jm.expectations.SatisfiedExpectations(logger, key)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion_test.go

    	validator := crdvalidation.NewIstioValidator(t)
    	type res struct {
    		name, namespace string
    		allowed         bool
    	}
    	cases := []struct {
    		name         string
    		config       string
    		expectations []res
    	}{
    		{
    			name: "simple",
    			config: `apiVersion: gateway.networking.k8s.io/v1beta1
    kind: ReferenceGrant
    metadata:
      name: allow-gateways-to-ref-secrets
      namespace: default
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  5. src/internal/syscall/unix/kernel_version_solaris_test.go

    	gotAccept4 := unix.SupportAccept4()
    	if wantAccept4 != gotAccept4 {
    		t.Fatalf("SupportAccept4, got %t; want %t", gotAccept4, wantAccept4)
    	}
    
    	// Test that the version returned by KernelVersion matches expectations.
    	major, minor := unix.KernelVersion()
    	t.Logf("Kernel version: %d.%d", major, minor)
    	if runtime.GOOS == "illumos" {
    		if gotSock && gotAccept4 && (major < 5 || (major == 5 && minor < 11)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    		informerFactory.Core().V1().Pods().Informer().GetStore(),
    		informerFactory.Core().V1().Nodes().Informer().GetStore(),
    		fakeRecorder,
    	}
    
    	podControl.expectations = newDsc.expectations
    
    	return newDsc, podControl, clientset, nil
    }
    
    func resetCounters(manager *daemonSetsController) {
    	manager.podControl.(*fakePodControl).Clear()
    	fakeRecorder := record.NewFakeRecorder(100)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/node_expander_test.go

    		pv   *v1.PersistentVolume
    
    		// desired size, defaults to pv.Spec.Capacity
    		desiredSize *resource.Quantity
    		// actualSize, defaults to pvc.Status.Capacity
    		actualSize *resource.Quantity
    
    		// expectations of test
    		expectedResizeStatus     v1.ClaimResourceStatus
    		expectedStatusSize       resource.Quantity
    		expectResizeCall         bool
    		assumeResizeOpAsFinished bool
    		expectError              bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			expectedReady:         ptr.To[int32](0),
    		},
    		"suspending a job with satisfied expectations": {
    			// Suspended Job should delete active pods when expectations are
    			// satisfied.
    			suspend:                 true,
    			parallelism:             2,
    			activePods:              2, // parallelism == active, expectations satisfied
    			completions:             4,
    			backoffLimit:            6,
    			expectedCreations:       0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. pkg/volume/util/operationexecutor/operation_generator_test.go

    	var tests = []struct {
    		name                 string
    		pvc                  *v1.PersistentVolumeClaim
    		pv                   *v1.PersistentVolume
    		recoverFeatureGate   bool
    		disableNodeExpansion bool
    		// expectations of test
    		expectedResizeStatus  v1.ClaimResourceStatus
    		expectedAllocatedSize resource.Quantity
    		expectResizeCall      bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    			// so we skup the errors and only assert on the actions
    			// https://github.com/kubernetes/kubernetes/issues/99953
    			_ = controller.sync(tCtx, tc.cidrSynced)
    			expectAction(t, client.Actions(), tc.actions)
    
    		})
    	}
    }
    
    func makeServiceCIDR(name, primary, secondary string) *networkingapiv1alpha1.ServiceCIDR {
    	serviceCIDR := &networkingapiv1alpha1.ServiceCIDR{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top