Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDryRunAllocate (0.23 sec)

  1. pkg/registry/core/service/portallocator/operation_test.go

    limitations under the License.
    */
    
    package portallocator
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/util/net"
    )
    
    // TestDryRunAllocate tests the Allocate function in dry run mode
    func TestDryRunAllocate(t *testing.T) {
    	pr, err := net.ParsePortRange("10000-10200")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Allocate some ports before calling
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 15 23:44:12 UTC 2021
    - 3.1K bytes
    - Viewed (0)
Back to top