Browse Source

Adjust test to match its comment

Docker-DCO-1.1-Signed-off-by: Andrew Williams <williams.andrew@gmail.com> (github: TheDude05)
Andrew Williams 11 năm trước cách đây
mục cha
commit
95bcb8924a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      networkdriver/network_test.go

+ 1 - 1
networkdriver/network_test.go

@@ -105,7 +105,7 @@ func TestNetworkOverlaps(t *testing.T) {
 	//netY starts before and ends at same IP of netX
 	AssertOverlap("172.16.1.1/24", "172.16.0.1/23", t)
 	//netY starts before and ends outside of netX
-	AssertOverlap("172.16.1.1/24", "172.16.0.1/23", t)
+	AssertOverlap("172.16.1.1/24", "172.16.0.1/22", t)
 	//netY starts and ends before netX
 	AssertNoOverlap("172.16.1.1/25", "172.16.0.1/24", t)
 	//netX starts and ends before netY