summaryrefslogtreecommitdiff
path: root/src/test/run_test_zones.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run_test_zones.pl')
-rwxr-xr-xsrc/test/run_test_zones.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/run_test_zones.pl b/src/test/run_test_zones.pl
index 274a119..e506bea 100755
--- a/src/test/run_test_zones.pl
+++ b/src/test/run_test_zones.pl
@@ -99,6 +99,14 @@ foreach my $test (@tests) {
},
);
+ my $pve_sdn_controllers_plugin;
+ $pve_sdn_controllers_plugin = Test::MockModule->new('PVE::Network::SDN::Controllers::Plugin');
+ $pve_sdn_controllers_plugin->mock(
+ read_iface_mac => sub {
+ return "bc:24:11:1d:69:60";
+ },
+ );
+
my ($first_plugin) = %{$sdn_config->{controllers}->{ids}} if defined $sdn_config->{controllers};
if ($first_plugin) {
my $controller_plugin = PVE::Network::SDN::Controllers::Plugin->lookup(