Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,316 for nfail (0.06 sec)

  1. pkg/proxy/ipvs/util/testing/fake_test.go

    		Protocol: string("TCP"),
    		Flags:    utilipvs.FlagHashed,
    	}
    	err := fake.AddVirtualServer(vs1)
    	if err != nil {
    		t.Errorf("Fail to add virtual server, error: %v", err)
    	}
    	// Get a specific virtual server
    	got1, err := fake.GetVirtualServer(vs1)
    	if err != nil {
    		t.Errorf("Fail to get virtual server, error: %v", err)
    	}
    	if !vs1.Equal(got1) {
    		t.Errorf("Expect virtual server: %v, got: %v", vs1, got1)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fail_newline.txt

    [short] skip
    
    # In package list mode, output is buffered.
    # Check that a newline is printed after the buffer's contents.
    cd fail
    ! go test .
    ! stderr .
    stdout '^exitcode=1\n'
    stdout '^FAIL\s+example/fail'
    
    # In local directory mode output is streamed, so we don't know
    # whether the test printed anything at all, so we print the exit code
    # (just in case it failed without emitting any output at all),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 21:33:23 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_status.txt

    env GO111MODULE=off
    
    ! go test x y
    stdout ^FAIL\s+x
    stdout ^ok\s+y
    stdout (?-m)FAIL\n$
    
    -- x/x_test.go --
    package x
    
    import "testing"
    
    func TestNothingJustFail(t *testing.T) {
        t.Fail()
    }
    
    -- y/y_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 19:26:01 UTC 2019
    - 220 bytes
    - Viewed (0)
  4. test/zerosize.go

    		// print("&x=", &x, " &y=", &y, " &x==&y = ", &x==&y, "\n")
    		// panic("FAIL")
    	}
    	if p != q {
    		print("p=", p, " q=", q, " p==q = ", p==q, "\n")
    		panic("FAIL")
    	}
    	if &x != p {
    		print("&x=", &x, " p=", p, " &x==p = ", &x==p, "\n")
    		panic("FAIL")
    	}
    	if &y != p {
    		print("&y=", &y, " p=", p, " &y==p = ", &y==p, "\n")
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 18:35:43 UTC 2023
    - 814 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
            Test example.MyFailingTest#fail (Task: :test)
            Test example.MyFailingTest#fail2 (Task: :test)"""
    
            when:
            launchTests { TestLauncher testLauncher ->
                testLauncher.withJvmTestMethods("example.MyFailingTest", "fail")
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue54632.go

    // transitively inline indirect function calls.
    
    package main
    
    func main() {
    	bug1()
    	bug2(fail)
    }
    
    func bug1() {
    	fn := fail
    	fn = pass
    	fn()
    }
    
    func bug2(fn func()) {
    	fn = pass
    	fn()
    }
    
    func pass() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 14:31:08 UTC 2022
    - 609 bytes
    - Viewed (0)
  7. test/closure.go

    	x, y := newfunc(), newfunc()
    	if x(1) != 1 || y(2) != 2 {
    		println("newfunc returned broken funcs")
    		fail = true
    	}
    
    	runtime.ReadMemStats(memstats)
    	if n0 != memstats.Mallocs {
    		println("newfunc allocated unexpectedly")
    		fail = true
    	}
    
    	ff(1)
    
    	if fail {
    		panic("fail")
    	}
    }
    
    func ff(x int) {
    	call(func() {
    		_ = x
    	})
    }
    
    func call(func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jul 01 17:59:50 UTC 2012
    - 1.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top