mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: performance-metrics: Add timeout parameter as runtime argument
This commit will add timeout parameter to performance metrics testcases as runtime argument. Testcases are facing the timeout sometimes when we run with MSHV hypervisor. This change will provide mechanism to pass the timeout as per the need while running the testcases. If nothing is passed, default timeout or timeout set as per the testcase will be followed. Signed-off-by: smit-gardhariya <gardhariya.smit@gmail.com>
This commit is contained in:
@@ -1352,6 +1352,7 @@ pub fn parse_iperf3_output(output: &[u8], sender: bool, bandwidth: bool) -> Resu
|
||||
})
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum FioOps {
|
||||
Read,
|
||||
RandomRead,
|
||||
|
||||
Reference in New Issue
Block a user