From f3990f950277c2f61e0e1811b4b8a81fc0219da4 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Wed, 13 Dec 2023 19:56:03 -0500 Subject: [Feature] Support for testing upload/download in parallel Use the `--rpm.parallel` to test in parallel mode. The default testing mode is serial. Signed-off-by: Will Hawkins --- constants/constants.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'constants/constants.go') diff --git a/constants/constants.go b/constants/constants.go index 8621de8..81c932e 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -14,7 +14,11 @@ package constants -import "time" +import ( + "time" + + "github.com/network-quality/goresponsiveness/executor" +) var ( // The initial number of load-generating connections when attempting to saturate the network. @@ -38,6 +42,9 @@ var ( DefaultInsecureSkipVerify bool = true DefaultL4SCongestionControlAlgorithm string = "prague" + + // The default execution policy for running a test (serial) + DefaultTestExecutionPolicy = executor.Serial ) type SpecParametersCliOptions struct { -- cgit v1.2.3