Fix up merge in unit test

This commit is contained in:
Bryan Boreham committed 2016-04-25 12:28:47 +01:00
1 parent 88a044f7f9
commit 76601fed09
1 file changed
+2 -2
+2 -2
View File
@@ -329,8 +329,8 @@ func TestNoFrag(t *testing.T) {
resultChan := make(chan int)
for i := 0; i < 100; i++ {
allocs, router, subnet := makeNetworkOfAllocators(3, cidr)
allocs[1].Allocate("foo", subnet, returnFalse)
allocs[2].Allocate("bar", subnet, returnFalse)
allocs[1].Allocate("foo", subnet, true, returnFalse)
allocs[2].Allocate("bar", subnet, true, returnFalse)
allocs[2].actionChan <- func() {
resultChan <- len(allocs[2].ring.Entries)
}