diff options
Diffstat (limited to 'internal/pkg/ovn/ovn_test.go')
-rw-r--r-- | internal/pkg/ovn/ovn_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/pkg/ovn/ovn_test.go b/internal/pkg/ovn/ovn_test.go index 6e38759..5ea01d1 100644 --- a/internal/pkg/ovn/ovn_test.go +++ b/internal/pkg/ovn/ovn_test.go @@ -128,6 +128,11 @@ var _ = Describe("Add logical Port", func() { Output: macIPAddress, }) + fakeCmds = ovntest.AddFakeCmd(fakeCmds, &ovntest.ExpectedCmd{ + Cmd: "ovn-nbctl --timeout=15 --if-exists get logical_switch " + netName + " external_ids:gateway_ip", + Output: gwCIDR, + }) + fexec := &fakeexec.FakeExec{ CommandScript: fakeCmds, LookPathFunc: func(file string) (string, error) { |