mirror of
https://github.com/moby/moby.git
synced 2026-07-24 16:26:51 +00:00
15 lines
323 B
Go
15 lines
323 B
Go
package cnmallocator
|
|
|
|
import (
|
|
"runtime"
|
|
"testing"
|
|
|
|
"github.com/moby/swarmkit/v2/manager/allocator"
|
|
"gotest.tools/v3/skip"
|
|
)
|
|
|
|
func TestAllocator(t *testing.T) {
|
|
skip.If(t, runtime.GOOS == "windows", "Allocator tests are hardcoded to use Linux network driver names")
|
|
allocator.RunAllocatorTests(t, NewProvider(nil))
|
|
}
|