Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for waitCondition (0.14 sec)

  1. src/net/http/clientserver_test.go

    	}
    	logOutput := func() string {
    		errorLog.Lock()
    		defer errorLog.Unlock()
    		return errorLog.String()
    	}
    	wantStackLogged := panicValue != nil && panicValue != ErrAbortHandler
    
    	waitCondition(t, 10*time.Millisecond, func(d time.Duration) bool {
    		gotLog := logOutput()
    		if !wantStackLogged {
    			if gotLog == "" {
    				return true
    			}
    			t.Fatalf("want no log output; got: %s", gotLog)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top