Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 180 for SkipIf (0.11 sec)

  1. src/cmd/go/terminal_test.go

    			t.Errorf("stderr is unexpectedly a terminal")
    		}
    	})
    
    	// Now test with a read PTY.
    	t.Run("pty", func(t *testing.T) {
    		r, processTTY, err := testpty.Open()
    		if errors.Is(err, testpty.ErrNotSupported) {
    			t.Skipf("%s", err)
    		} else if err != nil {
    			t.Fatalf("failed to open test PTY: %s", err)
    		}
    		defer r.Close()
    		w, err := os.OpenFile(processTTY, os.O_RDWR, 0)
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 18:18:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. src/net/http/pprof/pprof_test.go

    	// skip this test. Mutex profile is likely not working,
    	// so is the delta profile.
    
    	p, err := query("/debug/pprof/mutex")
    	if err != nil {
    		t.Skipf("mutex profile is unsupported: %v", err)
    	}
    
    	if !seen(p, "mutexHog1") {
    		t.Skipf("mutex profile is not working: %v", p)
    	}
    
    	// causes mutexHog2 call stacks to appear in the mutex profile.
    	done := make(chan bool)
    	go func() {
    		for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/crypto/x509/hybrid_pool_test.go

    	"internal/testenv"
    	"math/big"
    	"runtime"
    	"testing"
    	"time"
    )
    
    func TestHybridPool(t *testing.T) {
    	t.Parallel()
    	if !(runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios") {
    		t.Skipf("platform verifier not available on %s", runtime.GOOS)
    	}
    	if !testenv.HasExternalNetwork() {
    		t.Skip()
    	}
    	if runtime.GOOS == "windows" {
    		// NOTE(#51599): on the Windows builders we sometimes see that the state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:11 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisioned_upgrade_test.go

    			t.Skip("https://github.com/istio/istio/pull/46213")
    			// Kubernetes 1.22 drops support for a number of legacy resources, so we cannot install the old versions
    			if !t.Clusters().Default().MaxKubeVersion(21) {
    				t.Skipf("k8s version not supported for %s (>%s)", t.Name(), "1.21")
    			}
    			versions := []string{NMinusOne, NMinusTwo, NMinusThree, NMinusFour}
    			for _, v := range versions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/net/server_test.go

    }
    
    func TestUDPServer(t *testing.T) {
    	for i, tt := range udpServerTests {
    		i, tt := i, tt
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			if !testableListenArgs(tt.snet, tt.saddr, tt.taddr) {
    				t.Skipf("skipping %s %s<-%s test", tt.snet, tt.saddr, tt.taddr)
    			}
    			t.Logf("%s %s<-%s", tt.snet, tt.saddr, tt.taddr)
    
    			c1, err := ListenPacket(tt.snet, tt.saddr)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/amd64/versions_test.go

    	} else {
    		// TODO: we're depending on platform-native objdump here. Hence the Skipf
    		// below if it doesn't run for some reason.
    		cmd := testenv.Command(t, "objdump", "-d", src)
    		var err error
    		disasm, err = cmd.StdoutPipe()
    		if err != nil {
    			t.Fatal(err)
    		}
    		if err := cmd.Start(); err != nil {
    			if errors.Is(err, exec.ErrNotFound) {
    				t.Skipf("can't run test due to missing objdump: %s", err)
    			}
    			t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/net/writev_test.go

    		}
    		if gotSum != wantSum {
    			t.Errorf("writev call sum  = %v; want %v", gotSum, wantSum)
    		}
    		return nil
    	})
    }
    
    func TestWritevError(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skipf("skipping the test: windows does not have problem sending large chunks of data")
    	}
    
    	ln := newLocalListener(t, "tcp")
    
    	ch := make(chan Conn, 1)
    	defer func() {
    		ln.Close()
    		for c := range ch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. src/runtime/pprof/vminfo_darwin_test.go

    			t.Logf("%v: %v\n%s", cmd, cmdErr, ee.Stderr)
    			if testing.Short() && strings.Contains(string(ee.Stderr), "No process corpse slots currently available, waiting to get one") {
    				t.Skipf("Skipping knwn flake in short test mode")
    			}
    			retryable = bytes.Contains(ee.Stderr, []byte("resource shortage"))
    		}
    		t.Logf("%v: %v\n", cmd, cmdErr)
    		if retryable {
    			return 0, 0, true, cmdErr
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/net/sendfile_test.go

    // Test that sendfile doesn't put a pipe into blocking mode.
    func TestSendfilePipe(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9", "windows", "js", "wasip1":
    		// These systems don't support deadlines on pipes.
    		t.Skipf("skipping on %s", runtime.GOOS)
    	}
    
    	t.Parallel()
    
    	ln := newLocalListener(t, "tcp")
    	defer ln.Close()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer w.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/os/os_test.go

    					// Reiserfs rejects the big seeks.
    					t.Skipf("skipping test known to fail on reiserfs; https://golang.org/issue/91")
    				}
    			}
    			t.Errorf("#%d: Seek(%v, %v) = %v, %v want %v, nil", i, tt.in, tt.whence, off, err, tt.out)
    		}
    	}
    }
    
    func TestSeekError(t *testing.T) {
    	switch runtime.GOOS {
    	case "js", "plan9", "wasip1":
    		t.Skipf("skipping test on %v", runtime.GOOS)
    	}
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top