Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,314 for nfail (0.06 sec)

  1. plugin/pkg/admission/network/denyserviceexternalips/admission_test.go

    }
    
    func TestAdmission(t *testing.T) {
    	testCases := []struct {
    		name   string
    		newSvc *core.Service
    		oldSvc *core.Service
    		fail   bool
    	}{{
    		name:   "create: without externalIPs",
    		newSvc: makeSvc(),
    	}, {
    		name:   "create: with externalIPs",
    		newSvc: makeSvc("1.1.1.1"),
    		fail:   true,
    	}, {
    		name:   "update: same externalIPs",
    		newSvc: makeSvc("1.1.1.1", "2.2.2.2"),
    		oldSvc: makeSvc("1.1.1.1", "2.2.2.2"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 05:36:44 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/externalcontrolplane-missing-urls-custom-ns.yaml

    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        url:
      failurePolicy: Fail
      name: rev.namespace.sidecar-injector.istio.io
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        url: https://test.com/inject/cluster/your-cluster-name/net/network1
      failurePolicy: Fail
      name: rev.object.sidecar-injector.istio.io
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 08 02:20:29 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. test/ddd2.dir/ddd3.go

    func main() {
    	if x := ddd.Sum(1, 2, 3); x != 6 {
    		println("ddd.Sum 6", x)
    		panic("fail")
    	}
    	if x := ddd.Sum(); x != 0 {
    		println("ddd.Sum 0", x)
    		panic("fail")
    	}
    	if x := ddd.Sum(10); x != 10 {
    		println("ddd.Sum 10", x)
    		panic("fail")
    	}
    	if x := ddd.Sum(1, 8); x != 9 {
    		println("ddd.Sum 9", x)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 583 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            fail("Expected ArithmeticException");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundNaNToIntAlwaysFails() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          try {
            DoubleMath.roundToInt(Double.NaN, mode);
            fail("Expected ArithmeticException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    		// If mix of true and eval errors then resort to fail policy
    		if m.failPolicy == v1.Fail {
    			// mix of true and errors with fail policy fail should fail request without calling webhook
    			err = utilerrors.NewAggregate(errorList)
    			return MatchResult{
    				Error: err,
    			}
    		} else if m.failPolicy == v1.Ignore {
    			// if fail policy ignore then skip call to webhook
    			return MatchResult{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/v1/defaults_test.go

    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/admissionregistration/install"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    func TestDefaultAdmissionWebhook(t *testing.T) {
    	fail := v1.Fail
    	equivalent := v1.Equivalent
    	never := v1.NeverReinvocationPolicy
    	ten := int32(10)
    	allScopes := v1.AllScopes
    
    	tests := []struct {
    		name     string
    		original runtime.Object
    		expected runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/delmarker-expiration_test.go

    			var dexp DelMarkerExpiration
    			var fail bool
    			err := xml.Unmarshal([]byte(test.xml), &dexp)
    			if test.err == nil {
    				if err != nil {
    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    					fail = true
    				}
    			}
    			if fail {
    				t.Fatalf("Expected %v but got %v", test.err, err)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_outside.txt

    go list -m -versions example.com/version
    stdout 'v1.0.0\s+v1.0.1\s+v1.1.0'
    
    # 'go list -m all' should fail. "all" is not meaningful outside of a module.
    ! go list -m all
    stderr 'go: cannot match "all": go.mod file not found in current directory or any parent directory; see ''go help modules''$'
    
    # 'go list -m <mods> all' should also fail.
    ! go list -m example.com/printversion@v1.0.0 all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 15:34:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          equalsTester.addEqualityGroup((Object) null);
          fail("Should fail on null reference");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        try {
          equalsTester.addEqualityGroup(reference, equalObject1, null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/cmd/internal/test2json/testdata/issue29755.json

    {"Action":"pass","Test":"TestOutputWithSubtest/sub_test2/sub2"}
    {"Action":"pass","Test":"TestOutputWithSubtest/sub_test2"}
    {"Action":"fail","Test":"TestOutputWithSubtest"}
    {"Action":"output","Output":"FAIL\n"}
    {"Action":"output","Output":"FAIL\tgotest.tools/gotestsum/foo\t0.001s\n"}
    {"Action":"output","Output":"FAIL\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top