Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 224 for run1 (0.07 sec)

  1. pkg/apis/flowcontrol/validation/validation_test.go

    		},
    		expectedErrors: field.ErrorList{
    			field.Invalid(field.NewPath("spec").Child("matchingPrecedence"), int32(10001), "must not be greater than 10000"),
    		},
    	}}
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			errs := ValidateFlowSchema(testCase.flowSchema)
    			if !assert.ElementsMatch(t, testCase.expectedErrors, errs) {
    				t.Logf("mismatch: %v", cmp.Diff(testCase.expectedErrors, errs))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    						hugepages2M:       *resource.NewQuantity(7, resource.DecimalSI),
    					},
    				},
    			},
    
    			fmt.Sprintf(msgNotEqual, "77", hugepages2M, "14"),
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			err := validateReservedMemory(tc.machineInfo, tc.nodeAllocatableReservation, tc.systemReservedMemory)
    			if strings.TrimSpace(tc.expectedError) != "" {
    				assert.Error(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            where:
            method << ["get", "finalizeValue", "isPresent"]
        }
    
        Property<String> elementProperty() {
            return new DefaultProperty<String>(host, String)
        }
    
        def "runs side effect when calling '#getter' on property to which providers were added via 'add'"() {
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modget/get.go

    	Long: `
    The 'go get' command can run version control commands like git
    to download imported code. This functionality is critical to the decentralized
    Go package ecosystem, in which code can be imported from any server,
    but it is also a potential security problem, if a malicious server finds a
    way to cause the invoked version control command to run unintended code.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            !copy2.is(property)
            copy2.get() == someValue()
    
            property.set(someOtherValue())
            copy.getOrNull() == null
            copy2.get() == someValue()
        }
    
        def "runs side effect when calling '#getter' when empty property value is set via '#setter'"() {
            given:
            def property = providerWithNoValue()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  6. plugin/pkg/admission/noderestriction/admission_test.go

    	podsGetter  corev1lister.PodLister
    	nodesGetter corev1lister.NodeLister
    	attributes  admission.Attributes
    	features    featuregate.FeatureGate
    	err         string
    }
    
    func (a *admitTestCase) run(t *testing.T) {
    	t.Run(a.name, func(t *testing.T) {
    		c := NewPlugin(nodeidentifier.NewDefaultNodeIdentifier())
    		if a.features != nil {
    			c.InspectFeatureGates(a.features)
    		}
    		c.podsGetter = a.podsGetter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/sidecar_simulation_test.go

    				// Not imported
    				"alt-known.default.svc.cluster.local": nil,
    			},
    		},
    	}
    	for _, variant := range []string{"httproute", "virtualservice"} {
    		t.Run(variant, func(t *testing.T) {
    			for _, tt := range cases {
    				tt := tt
    				t.Run(tt.name, func(t *testing.T) {
    					if tt.oldestWins {
    						test.SetForTest(t, &features.PersistOldestWinsHeuristicForVirtualServiceHostMatching, true)
    					} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

          }
          n->AddAttr("index", permutation[index]);
        }
      }
      return absl::OkStatus();
    }
    
    Status EncapsulateSubgraphsPass::Run(
        const GraphOptimizationPassOptions& options) {
      VLOG(1) << "EncapsulateSubgraphsPass::Run";
      if (VLOG_IS_ON(1)) {
        DumpGraphToFile("encapsulate_subgraphs_before", **options.graph,
                        options.flib_def);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    errInvalidDaysDelMarkerExpiration,
    			expectedValidationErr: nil,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != tc.expectedParsingErr {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                    private final bean = new Bean()
                    FooTask() { bean.p1 = project }
                    @TaskAction void run() {}
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run ENABLE_CLI_OPT, WARN_PROBLEMS_CLI_OPT, "foo"
    
            then:
            postBuildOutputContains("Configuration cache entry stored with 2 problems.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top