@@ -72,25 +72,44 @@ pub fn test_cases() -> Vec<TestCase> {
7272 TestCase :: new( "net-tap" , Box :: new( TestNet :: new_tap( ) ) ) ,
7373 TestCase :: new( "net-gvproxy" , Box :: new( TestNet :: new_gvproxy( ) ) ) ,
7474 TestCase :: new( "multiport-console" , Box :: new( TestMultiportConsole ) ) ,
75- TestCase :: new( "perf-net-passt-upload" , Box :: new( TestNetPerf :: new_passt_upload( ) ) ) ,
76- TestCase :: new( "perf-net-passt-download" , Box :: new( TestNetPerf :: new_passt_download( ) ) ) ,
77- TestCase :: new( "perf-net-tap-upload" , Box :: new( TestNetPerf :: new_tap_upload( ) ) ) ,
78- TestCase :: new( "perf-net-tap-download" , Box :: new( TestNetPerf :: new_tap_download( ) ) ) ,
79- TestCase :: new( "perf-net-gvproxy-upload" , Box :: new( TestNetPerf :: new_gvproxy_upload( ) ) ) ,
80- TestCase :: new( "perf-net-gvproxy-download" , Box :: new( TestNetPerf :: new_gvproxy_download( ) ) ) ,
75+ TestCase :: new(
76+ "perf-net-passt-upload" ,
77+ Box :: new( TestNetPerf :: new_passt_upload( ) ) ,
78+ ) ,
79+ TestCase :: new(
80+ "perf-net-passt-download" ,
81+ Box :: new( TestNetPerf :: new_passt_download( ) ) ,
82+ ) ,
83+ TestCase :: new(
84+ "perf-net-tap-upload" ,
85+ Box :: new( TestNetPerf :: new_tap_upload( ) ) ,
86+ ) ,
87+ TestCase :: new(
88+ "perf-net-tap-download" ,
89+ Box :: new( TestNetPerf :: new_tap_download( ) ) ,
90+ ) ,
91+ TestCase :: new(
92+ "perf-net-gvproxy-upload" ,
93+ Box :: new( TestNetPerf :: new_gvproxy_upload( ) ) ,
94+ ) ,
95+ TestCase :: new(
96+ "perf-net-gvproxy-download" ,
97+ Box :: new( TestNetPerf :: new_gvproxy_download( ) ) ,
98+ ) ,
8199 ]
82100}
83101
84102/// Registry of container images used by tests.
85103/// Each entry maps a name to a Containerfile that will be built and cached via podman.
86104#[ host]
87105pub fn rootfs_images ( ) -> & ' static [ ( & ' static str , & ' static str ) ] {
88- & [
89- ( "fedora-iperf3" , "\
106+ & [ (
107+ "fedora-iperf3" ,
108+ "\
90109 FROM fedora:43
91110RUN dnf install -y iperf3 && dnf clean all
92- " ) ,
93- ]
111+ " ,
112+ ) ]
94113}
95114
96115////////////////////
0 commit comments