Don't cancel address claim when caller closes socket
This commit is contained in:
1 parent
78c4b06492
commit
cf4ce0a07d
4 files changed
+7
-15
No files matched your search
@@ -143,7 +143,7 @@ func TestAllocatorClaim(t *testing.T) {
|
||||
alloc.claimRingForTesting()
|
||||
addr1, _ := address.ParseIP(testAddr1)
|
||||
|
||||
err := alloc.Claim(container3, addr1, nil)
|
||||
err := alloc.Claim(container3, addr1)
|
||||
wt.AssertNoErr(t, err)
|
||||
// Check we get this address back if we try an allocate
|
||||
addr3, _ := alloc.Allocate(container3, subnet, nil)
|
||||
|
||||
Reference in new issue
Block a user