Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,348 for wabt (0.13 sec)

  1. releasenotes/notes/wait-when-distribution-tracing-disabled.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 17 03:43:40 UTC 2023
    - 212 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress_test.go

    	}); err != nil {
    		t.Fatalf("Failed to wait progress requests, err: %s, want: %d , got %d", err, wantRequestsSent, requestsSent)
    	}
    	pr.Add()
    	clock.Step(progressRequestPeriod * 2)
    	if err := pollConditionNoChange(pollPeriod, minimalNoChange, pollTimeout, func() bool {
    		requestsSent = pr.progressRequestsSentCount.Load()
    		return requestsSent == wantRequestsSent
    	}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/os/exec/exec_test.go

    	}
    
    	cmd = helperCommand(t, "exit", "255")
    	cmd.Run()
    	want = 255
    	if runtime.GOOS == "plan9" {
    		want = 1
    	}
    	got = cmd.ProcessState.ExitCode()
    	if want != got {
    		t.Errorf("ExitCode got %d, want %d", got, want)
    	}
    
    	cmd = helperCommand(t, "cat")
    	cmd.Run()
    	want = 0
    	got = cmd.ProcessState.ExitCode()
    	if want != got {
    		t.Errorf("ExitCode got %d, want %d", got, want)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go

    			healthcheck, err := CreateHealthCheck(tc.cfg, stop)
    			if err != nil {
    				t.Fatal(err)
    			}
    			// Wait for healthcheck to establish connection
    			<-ready
    			got := healthcheck()
    
    			if !errors.Is(got, tc.want) {
    				t.Errorf("healthcheck() missmatch want %v got %v", tc.want, got)
    			}
    		})
    	}
    }
    
    func TestCreateReadycheck(t *testing.T) {
    	etcdConfig := testserver.NewTestConfig(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. src/os/pidfd_linux_test.go

    	}
    
    	// Check that all Process' public methods work as expected with
    	// "done" Process.
    	if err := proc.Kill(); err != os.ErrProcessDone {
    		t.Errorf("Kill: got %v, want %v", err, os.ErrProcessDone)
    	}
    	if err := proc.Signal(os.Kill); err != os.ErrProcessDone {
    		t.Errorf("Signal: got %v, want %v", err, os.ErrProcessDone)
    	}
    	if _, err := proc.Wait(); !errors.Is(err, syscall.ECHILD) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/os/exec_unix_test.go

    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    		// we'll just take the default.
    		pid = 30000-1
    	}
    
    	p, err := FindProcess(pid)
    	if err != nil {
    		t.Fatalf("FindProcess(math.MaxInt32) got err %v, want nil", err)
    	}
    
    	if ps, err := p.Wait(); !errors.Is(err, syscall.ECHILD) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/internal/singleflight/singleflight_test.go

    	"testing"
    	"time"
    )
    
    func TestDo(t *testing.T) {
    	var g Group
    	v, err, _ := g.Do("key", func() (any, error) {
    		return "bar", nil
    	})
    	if got, want := fmt.Sprintf("%v (%T)", v, v), "bar (string)"; got != want {
    		t.Errorf("Do = %v; want %v", got, want)
    	}
    	if err != nil {
    		t.Errorf("Do error = %v", err)
    	}
    }
    
    func TestDoErr(t *testing.T) {
    	var g Group
    	someErr := errors.New("some error")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:21:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/interface_test.go

    				t.Errorf("unexpected diff (-want, +got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestIsStatusEqual(t *testing.T) {
    	tests := []struct {
    		name string
    		x, y *Status
    		want bool
    	}{
    		{
    			name: "two nil should be equal",
    			x:    nil,
    			y:    nil,
    			want: true,
    		},
    		{
    			name: "nil should be equal to success status",
    			x:    nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. src/runtime/crash_unix_test.go

    	if fd != -1 {
    		t.Errorf("open(%q)=%d, want -1", nonfile, fd)
    	}
    	var buf [32]byte
    	r := runtime.Read(-1, unsafe.Pointer(&buf[0]), int32(len(buf)))
    	if got, want := r, -int32(syscall.EBADF); got != want {
    		t.Errorf("read()=%d, want %d", got, want)
    	}
    	w := runtime.Write(^uintptr(0), unsafe.Pointer(&buf[0]), int32(len(buf)))
    	if got, want := w, -int32(syscall.EBADF); got != want {
    		t.Errorf("write()=%d, want %d", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. test/typeparam/chansimp.dir/main.go

    )
    
    func TestReadAll() {
    	c := make(chan int)
    	go func() {
    		c <- 4
    		c <- 2
    		c <- 5
    		close(c)
    	}()
    	got := a.ReadAll(context.Background(), c)
    	want := []int{4, 2, 5}
    	if !a.SliceEqual(got, want) {
    		panic(fmt.Sprintf("ReadAll returned %v, want %v", got, want))
    	}
    }
    
    func TestMerge() {
    	c1 := make(chan int)
    	c2 := make(chan int)
    	go func() {
    		c1 <- 1
    		c1 <- 3
    		c1 <- 5
    		close(c1)
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top