Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for recovered (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	_, err = registry.Get(testContext, podA.Name, &metav1.GetOptions{})
    	if !errors.IsNotFound(err) {
    		t.Errorf("Unexpected error: %v", err)
    	}
    }
    
    // TestGracefulStoreCanDeleteIfExistingGracePeriodZero tests recovery from
    // race condition where the graceful delete is unable to complete
    // in prior operation, but the pod remains with deletion timestamp
    // and grace period set to 0.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. src/net/http/server.go

    // provided Request.
    //
    // If ServeHTTP panics, the server (the caller of ServeHTTP) assumes
    // that the effect of the panic was isolated to the active request.
    // It recovers the panic, logs a stack trace to the server error log,
    // and either closes the network connection or sends an HTTP/2
    // RST_STREAM, depending on the HTTP protocol. To abort a handler so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector_test.go

    	// Wait until sync discovers the change
    	time.Sleep(1 * time.Second)
    	assertMonitors(t, gc, "pods", "secrets")
    
    	// Put the resources back to normal and ensure garbage collector sync recovers
    	fakeDiscoveryClient.setPreferredResources(serverResources, nil)
    
    	err = expectSyncNotBlocked(fakeDiscoveryClient, &gc.workerLock)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		}
    		// In this case, it means at least one cluster was added
    		// successfully, we need to send a response to the client with
    		// some details - FIXME: the disks on this cluster would need to
    		// be cleaned to recover.
    		partial := madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: peerAddErr.Error(),
    		}
    
    		return partial, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    			}
    			if len(rows) <= 0 {
    				t.Fatalf("expected to have at least one TableRow, but got: %d", len(rows))
    			}
    
    			func() {
    				defer func() {
    					if err := recover(); err != nil {
    						// Same as stdlib http server code. Manually allocate stack
    						// trace buffer size to prevent excessively large logs
    						const size = 64 << 10
    						buf := make([]byte, size)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    		}
    	}
    }
    
    // Issue 24297
    func TestServeMuxHandleFuncWithNilHandler(t *testing.T) {
    	setParallel(t)
    	defer func() {
    		if err := recover(); err == nil {
    			t.Error("expected call to mux.HandleFunc to panic")
    		}
    	}()
    	mux := NewServeMux()
    	mux.HandleFunc("/", nil)
    }
    
    var serveMuxTests2 = []struct {
    	method  string
    	host    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    		t.Errorf("got=%v want=%q", err, want)
    	}
    
    	ln.Close()
    	<-done
    }
    
    func doFetchCheckPanic(tr *Transport, req *Request) (res *Response, err error, panicked bool) {
    	defer func() {
    		if r := recover(); r != nil {
    			panicked = true
    		}
    	}()
    	res, err = tr.RoundTrip(req)
    	return
    }
    
    // Issue 22330: do not allow the response body to be read when the status code
    // forbids a response body.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top