Clean up some tests that were not checking results

This commit is contained in:
Bryan Boreham authored and Marc Carré committed 2017-03-21 11:38:35 +00:00
1 parent 681109ba71
commit 8f27f8f442
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -186,6 +186,7 @@ func TestAllocatorClaim(t *testing.T) {
alloc.Prime()
// Do an allocate on the other peer, which we will try to claim later
addrx, err := allocs[0].Allocate(container1, subnet, true, returnFalse)
require.NoError(t, err)
// Should not get the address we pre-claimed
require.NotEqual(t, addrx, preAddr)
router.Flush()