From e48d59a7031e3ae523d08390585d73e5a0058d60 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 17 Mar 2022 14:08:02 +0100 Subject: [PATCH] libnetwork/cni: add dhcp ipam driver test case Signed-off-by: Paul Holzinger --- libnetwork/cni/config_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libnetwork/cni/config_test.go b/libnetwork/cni/config_test.go index af056b0ce..2dd62c722 100644 --- a/libnetwork/cni/config_test.go +++ b/libnetwork/cni/config_test.go @@ -1163,6 +1163,7 @@ var _ = Describe("Config", func() { Expect(network.Driver).To(Equal("macvlan")) Expect(network.Subnets).To(HaveLen(0)) // DHCP + Expect(network.IPAMOptions).To(HaveKeyWithValue("driver", "dhcp")) }) It("internal network", func() {