Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startServerShutdown (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/graceful_shutdown_test.go

    	"io"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"testing"
    	"time"
    
    	"golang.org/x/net/http2"
    )
    
    var (
    	// startServerShutdown is a signal from the backend after receiving all (25) requests
    	// after which the test shuts down the HTTP server
    	startServerShutdown = make(chan struct{})
    
    	// handlerLock used in the backendHTTPHandler to count the number of requests and signal the test that the termination can start
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top