diff --git a/ipam/allocator_test.go b/ipam/allocator_test.go index 6cc9aae5..33bed602 100644 --- a/ipam/allocator_test.go +++ b/ipam/allocator_test.go @@ -286,7 +286,8 @@ func TestFakeRouterSimple(t *testing.T) { alloc1 := allocs[0] //alloc2 := allocs[1] - alloc1.Allocate("foo", subnet, nil) + _, err := alloc1.Allocate("foo", subnet, nil) + wt.AssertTrue(t, err == nil, "Failed to get address") } func TestAllocatorFuzz(t *testing.T) {