github.com/moby/docker@v26.1.3+incompatible/libnetwork/cnmallocator/allocator_test.go (about)

     1  package cnmallocator
     2  
     3  import (
     4  	"runtime"
     5  	"testing"
     6  
     7  	"github.com/moby/swarmkit/v2/manager/allocator"
     8  	"gotest.tools/v3/skip"
     9  )
    10  
    11  func TestAllocator(t *testing.T) {
    12  	skip.If(t, runtime.GOOS == "windows", "Allocator tests are hardcoded to use Linux network driver names")
    13  	allocator.RunAllocatorTests(t, NewProvider(nil))
    14  }