diff options
-rw-r--r-- | docs/userguide/_02-network.rst | 2 | ||||
-rw-r--r-- | docs/userguide/introduction.rst | 12 | ||||
-rw-r--r-- | func/args_handler.py | 10 | ||||
-rw-r--r-- | func/cli.py | 6 | ||||
-rw-r--r-- | test_plan/default/compute/dhrystone_bm.yaml (renamed from test_cases/default/compute/dhrystone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/dhrystone_vm.yaml (renamed from test_cases/default/compute/dhrystone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/dpi_bm.yaml (renamed from test_cases/default/compute/dpi_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/dpi_vm.yaml (renamed from test_cases/default/compute/dpi_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/ramspeed_bm.yaml (renamed from test_cases/default/compute/ramspeed_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/ramspeed_vm.yaml (renamed from test_cases/default/compute/ramspeed_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/ssl_bm.yaml (renamed from test_cases/default/compute/ssl_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/ssl_vm.yaml (renamed from test_cases/default/compute/ssl_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/whetstone_bm.yaml (renamed from test_cases/default/compute/whetstone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/compute/whetstone_vm.yaml (renamed from test_cases/default/compute/whetstone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/network/iperf_bm.yaml (renamed from test_cases/default/network/iperf_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/network/iperf_vm.yaml (renamed from test_cases/default/network/iperf_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/network/iperf_vm_2.yaml (renamed from test_cases/default/network/iperf_vm_2.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/storage/fio_bm.yaml (renamed from test_cases/default/storage/fio_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/default/storage/fio_vm.yaml (renamed from test_cases/default/storage/fio_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/dhrystone_bm.yaml (renamed from test_cases/dell-pod1/compute/dhrystone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/dhrystone_vm.yaml (renamed from test_cases/dell-pod1/compute/dhrystone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/dpi_bm.yaml (renamed from test_cases/dell-pod1/compute/dpi_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/dpi_vm.yaml (renamed from test_cases/dell-pod1/compute/dpi_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/ramspeed_bm.yaml (renamed from test_cases/dell-pod1/compute/ramspeed_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/ramspeed_vm.yaml (renamed from test_cases/dell-pod1/compute/ramspeed_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/ssl_bm.yaml (renamed from test_cases/dell-pod1/compute/ssl_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/ssl_vm.yaml (renamed from test_cases/dell-pod1/compute/ssl_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/whetstone_bm.yaml (renamed from test_cases/dell-pod1/compute/whetstone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/compute/whetstone_vm.yaml (renamed from test_cases/dell-pod1/compute/whetstone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/network/iperf_bm.yaml (renamed from test_cases/dell-pod1/network/iperf_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/network/iperf_vm.yaml (renamed from test_cases/dell-pod1/network/iperf_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/network/iperf_vm_2.yaml (renamed from test_cases/dell-pod1/network/iperf_vm_2.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/network/netperf.yaml (renamed from test_cases/dell-pod1/network/netperf.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/storage/fio_bm.yaml (renamed from test_cases/dell-pod1/storage/fio_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-pod1/storage/fio_vm.yaml (renamed from test_cases/dell-pod1/storage/fio_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/dhrystone_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/dhrystone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/dhrystone_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/dhrystone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/dpi_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/dpi_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/dpi_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/dpi_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/ramspeed_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/ramspeed_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/ramspeed_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/ramspeed_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/ssl_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/ssl_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/ssl_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/ssl_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/whetstone_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/whetstone_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/compute/whetstone_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/compute/whetstone_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/network/iperf_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/network/iperf_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/network/iperf_vm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/network/iperf_vm_2.yaml (renamed from test_cases/dell-us-deploying-bm3/network/iperf_vm_2.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/network/netperf.yaml (renamed from test_cases/dell-us-deploying-bm3/network/netperf.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/storage/fio_bm.yaml (renamed from test_cases/dell-us-deploying-bm3/storage/fio_bm.yaml) | 0 | ||||
-rw-r--r-- | test_plan/dell-us-deploying-bm3/storage/fio_vm.yaml (renamed from test_cases/dell-us-deploying-bm3/storage/fio_vm.yaml) | 0 | ||||
-rw-r--r-- | tests/args_handler_test.py | 2 | ||||
-rw-r--r-- | tests/cli_test.py | 6 |
53 files changed, 19 insertions, 19 deletions
diff --git a/docs/userguide/_02-network.rst b/docs/userguide/_02-network.rst index 13697aba..18f328ae 100644 --- a/docs/userguide/_02-network.rst +++ b/docs/userguide/_02-network.rst @@ -25,7 +25,7 @@ One of the compute nodes is used as a server and the other as a client. The client pushes traffic to the server for a duration specified by the user in the configuration file for Iperf3. -These files can be found in the "test_cases/{POD}/network/" directory. +These files can be found in the "test_plan/{POD}/network/" directory. The bandwidth is limited by the physical link layer speed connecting the two compute nodes. The result file includes the b/s bandwidth and the CPU usage for both the client and server. diff --git a/docs/userguide/introduction.rst b/docs/userguide/introduction.rst index d0d9f3c1..6f443fd3 100644 --- a/docs/userguide/introduction.rst +++ b/docs/userguide/introduction.rst @@ -18,9 +18,9 @@ QTIP Directory structure The QTIP directory has been sectioned off into multiple folders to facilitate segmenting information into relevant categories. The folders that concern - the end user are `test_cases/` and `benchmarks/suite/`. + the end user are `test_plan/` and `benchmarks/suite/`. -**test_cases/:** +**test_plan/:** This folder is used to store all the config files which are used to setup the environment prior to a test. This folder is further divided into opnfv pods @@ -33,9 +33,9 @@ part of a opnfv pod,and for opnfv CI. The structure of the directory for the user appears as follows :: - test_cases/default/compute - test_cases/default/network - test_cases/default/storage + test_plan/default/compute + test_plan/default/network + test_plan/default/storage The benchmarks that are part of the QTIP framework are listed under these folders. An example of the compute folder is shown below. @@ -315,7 +315,7 @@ Commands to run the Framework: ------------------------------ In order to start QTIP on the default lab please use the following commands (asssuming your installer -is 'fuel' or 'compass', you use the config files in the test_cases/default/ directory and listed the +is 'fuel' or 'compass', you use the config files in the test_plan/default/ directory and listed the intended suite in the benchmarks/suite/<RELEVANT-SUITE-FILE>): First step is to export the necessary information to the environment and generate QTIP key pair. diff --git a/func/args_handler.py b/func/args_handler.py index 624f90c4..2eb79e29 100644 --- a/func/args_handler.py +++ b/func/args_handler.py @@ -20,14 +20,14 @@ def get_files_in_suite(suite_name, case_type='all'): if case_type == 'all' else benchmark_list[case_type] -def get_files_in_test_case(lab, suite_name, case_type='all'): - test_case_all = os.listdir('./test_cases/{0}/{1}'.format(lab, suite_name)) +def get_files_in_test_plan(lab, suite_name, case_type='all'): + test_case_all = os.listdir('./test_plan/{0}/{1}'.format(lab, suite_name)) return test_case_all if case_type == 'all' else \ filter(lambda x: case_type in x, test_case_all) def get_benchmark_path(lab, suit, benchmark): - return './test_cases/{0}/{1}/{2}'.format(lab, suit, benchmark) + return './test_plan/{0}/{1}/{2}'.format(lab, suit, benchmark) def check_suite(suite_name): @@ -35,11 +35,11 @@ def check_suite(suite_name): def check_lab_name(lab_name): - return True if os.path.isdir('test_cases/' + lab_name) else False + return True if os.path.isdir('test_plan/' + lab_name) else False def check_benchmark_name(lab, file, benchmark): - return os.path.isfile('test_cases/' + lab + '/' + file + '/' + benchmark) + return os.path.isfile('test_plan/' + lab + '/' + file + '/' + benchmark) def _get_f_name(test_case_path): diff --git a/func/cli.py b/func/cli.py index c5f5d2b7..17f0bde7 100644 --- a/func/cli.py +++ b/func/cli.py @@ -23,7 +23,7 @@ class Cli: parser = argparse.ArgumentParser() parser.add_argument('-l ', '--lab', required=True, help='Name of Lab ' 'on which being tested, These can' - 'be found in the test_cases/ directory. Please ' + 'be found in the test_plan/ directory. Please ' 'ensure that you have edited the respective files ' 'before using them. For testing other than through Jenkins' ' The user should list default after -l . all the fields in' @@ -49,12 +49,12 @@ class Cli: sys.exit(1) if not args_handler.check_lab_name(args.lab): - logger.error("You have specified a lab that is not present under test_cases/.\ + logger.error("You have specified a lab that is not present under test_plan/.\ Please enter correct file. If unsure how to proceed, use -l default.") sys.exit(1) suite = args.file benchmarks = args_handler.get_files_in_suite(suite) - test_cases = args_handler.get_files_in_test_case(args.lab, suite) + test_cases = args_handler.get_files_in_test_plan(args.lab, suite) benchmarks_list = filter(lambda x: x in test_cases, benchmarks) if args.benchmark: diff --git a/test_cases/default/compute/dhrystone_bm.yaml b/test_plan/default/compute/dhrystone_bm.yaml index 64741537..64741537 100644 --- a/test_cases/default/compute/dhrystone_bm.yaml +++ b/test_plan/default/compute/dhrystone_bm.yaml diff --git a/test_cases/default/compute/dhrystone_vm.yaml b/test_plan/default/compute/dhrystone_vm.yaml index 8f5a4165..8f5a4165 100644 --- a/test_cases/default/compute/dhrystone_vm.yaml +++ b/test_plan/default/compute/dhrystone_vm.yaml diff --git a/test_cases/default/compute/dpi_bm.yaml b/test_plan/default/compute/dpi_bm.yaml index 14cb6d0d..14cb6d0d 100644 --- a/test_cases/default/compute/dpi_bm.yaml +++ b/test_plan/default/compute/dpi_bm.yaml diff --git a/test_cases/default/compute/dpi_vm.yaml b/test_plan/default/compute/dpi_vm.yaml index 10e86993..10e86993 100644 --- a/test_cases/default/compute/dpi_vm.yaml +++ b/test_plan/default/compute/dpi_vm.yaml diff --git a/test_cases/default/compute/ramspeed_bm.yaml b/test_plan/default/compute/ramspeed_bm.yaml index ed8fc700..ed8fc700 100644 --- a/test_cases/default/compute/ramspeed_bm.yaml +++ b/test_plan/default/compute/ramspeed_bm.yaml diff --git a/test_cases/default/compute/ramspeed_vm.yaml b/test_plan/default/compute/ramspeed_vm.yaml index a6a4363f..a6a4363f 100644 --- a/test_cases/default/compute/ramspeed_vm.yaml +++ b/test_plan/default/compute/ramspeed_vm.yaml diff --git a/test_cases/default/compute/ssl_bm.yaml b/test_plan/default/compute/ssl_bm.yaml index cc5a8903..cc5a8903 100644 --- a/test_cases/default/compute/ssl_bm.yaml +++ b/test_plan/default/compute/ssl_bm.yaml diff --git a/test_cases/default/compute/ssl_vm.yaml b/test_plan/default/compute/ssl_vm.yaml index 37824896..37824896 100644 --- a/test_cases/default/compute/ssl_vm.yaml +++ b/test_plan/default/compute/ssl_vm.yaml diff --git a/test_cases/default/compute/whetstone_bm.yaml b/test_plan/default/compute/whetstone_bm.yaml index 3c128b60..3c128b60 100644 --- a/test_cases/default/compute/whetstone_bm.yaml +++ b/test_plan/default/compute/whetstone_bm.yaml diff --git a/test_cases/default/compute/whetstone_vm.yaml b/test_plan/default/compute/whetstone_vm.yaml index 0f1e8748..0f1e8748 100644 --- a/test_cases/default/compute/whetstone_vm.yaml +++ b/test_plan/default/compute/whetstone_vm.yaml diff --git a/test_cases/default/network/iperf_bm.yaml b/test_plan/default/network/iperf_bm.yaml index 3aa8310d..3aa8310d 100644 --- a/test_cases/default/network/iperf_bm.yaml +++ b/test_plan/default/network/iperf_bm.yaml diff --git a/test_cases/default/network/iperf_vm.yaml b/test_plan/default/network/iperf_vm.yaml index 49bf13ad..49bf13ad 100644 --- a/test_cases/default/network/iperf_vm.yaml +++ b/test_plan/default/network/iperf_vm.yaml diff --git a/test_cases/default/network/iperf_vm_2.yaml b/test_plan/default/network/iperf_vm_2.yaml index c5b94715..c5b94715 100644 --- a/test_cases/default/network/iperf_vm_2.yaml +++ b/test_plan/default/network/iperf_vm_2.yaml diff --git a/test_cases/default/storage/fio_bm.yaml b/test_plan/default/storage/fio_bm.yaml index d0001ea2..d0001ea2 100644 --- a/test_cases/default/storage/fio_bm.yaml +++ b/test_plan/default/storage/fio_bm.yaml diff --git a/test_cases/default/storage/fio_vm.yaml b/test_plan/default/storage/fio_vm.yaml index 0e7f121b..0e7f121b 100644 --- a/test_cases/default/storage/fio_vm.yaml +++ b/test_plan/default/storage/fio_vm.yaml diff --git a/test_cases/dell-pod1/compute/dhrystone_bm.yaml b/test_plan/dell-pod1/compute/dhrystone_bm.yaml index 2f8d0ec9..2f8d0ec9 100644 --- a/test_cases/dell-pod1/compute/dhrystone_bm.yaml +++ b/test_plan/dell-pod1/compute/dhrystone_bm.yaml diff --git a/test_cases/dell-pod1/compute/dhrystone_vm.yaml b/test_plan/dell-pod1/compute/dhrystone_vm.yaml index 8f5a4165..8f5a4165 100644 --- a/test_cases/dell-pod1/compute/dhrystone_vm.yaml +++ b/test_plan/dell-pod1/compute/dhrystone_vm.yaml diff --git a/test_cases/dell-pod1/compute/dpi_bm.yaml b/test_plan/dell-pod1/compute/dpi_bm.yaml index 45324184..45324184 100644 --- a/test_cases/dell-pod1/compute/dpi_bm.yaml +++ b/test_plan/dell-pod1/compute/dpi_bm.yaml diff --git a/test_cases/dell-pod1/compute/dpi_vm.yaml b/test_plan/dell-pod1/compute/dpi_vm.yaml index 8a157e7a..8a157e7a 100644 --- a/test_cases/dell-pod1/compute/dpi_vm.yaml +++ b/test_plan/dell-pod1/compute/dpi_vm.yaml diff --git a/test_cases/dell-pod1/compute/ramspeed_bm.yaml b/test_plan/dell-pod1/compute/ramspeed_bm.yaml index af220b80..af220b80 100644 --- a/test_cases/dell-pod1/compute/ramspeed_bm.yaml +++ b/test_plan/dell-pod1/compute/ramspeed_bm.yaml diff --git a/test_cases/dell-pod1/compute/ramspeed_vm.yaml b/test_plan/dell-pod1/compute/ramspeed_vm.yaml index a6a4363f..a6a4363f 100644 --- a/test_cases/dell-pod1/compute/ramspeed_vm.yaml +++ b/test_plan/dell-pod1/compute/ramspeed_vm.yaml diff --git a/test_cases/dell-pod1/compute/ssl_bm.yaml b/test_plan/dell-pod1/compute/ssl_bm.yaml index 6b14c4e6..6b14c4e6 100644 --- a/test_cases/dell-pod1/compute/ssl_bm.yaml +++ b/test_plan/dell-pod1/compute/ssl_bm.yaml diff --git a/test_cases/dell-pod1/compute/ssl_vm.yaml b/test_plan/dell-pod1/compute/ssl_vm.yaml index 37824896..37824896 100644 --- a/test_cases/dell-pod1/compute/ssl_vm.yaml +++ b/test_plan/dell-pod1/compute/ssl_vm.yaml diff --git a/test_cases/dell-pod1/compute/whetstone_bm.yaml b/test_plan/dell-pod1/compute/whetstone_bm.yaml index 128075a1..128075a1 100644 --- a/test_cases/dell-pod1/compute/whetstone_bm.yaml +++ b/test_plan/dell-pod1/compute/whetstone_bm.yaml diff --git a/test_cases/dell-pod1/compute/whetstone_vm.yaml b/test_plan/dell-pod1/compute/whetstone_vm.yaml index 0f1e8748..0f1e8748 100644 --- a/test_cases/dell-pod1/compute/whetstone_vm.yaml +++ b/test_plan/dell-pod1/compute/whetstone_vm.yaml diff --git a/test_cases/dell-pod1/network/iperf_bm.yaml b/test_plan/dell-pod1/network/iperf_bm.yaml index b2d2a958..b2d2a958 100644 --- a/test_cases/dell-pod1/network/iperf_bm.yaml +++ b/test_plan/dell-pod1/network/iperf_bm.yaml diff --git a/test_cases/dell-pod1/network/iperf_vm.yaml b/test_plan/dell-pod1/network/iperf_vm.yaml index d7079e99..d7079e99 100644 --- a/test_cases/dell-pod1/network/iperf_vm.yaml +++ b/test_plan/dell-pod1/network/iperf_vm.yaml diff --git a/test_cases/dell-pod1/network/iperf_vm_2.yaml b/test_plan/dell-pod1/network/iperf_vm_2.yaml index c5b94715..c5b94715 100644 --- a/test_cases/dell-pod1/network/iperf_vm_2.yaml +++ b/test_plan/dell-pod1/network/iperf_vm_2.yaml diff --git a/test_cases/dell-pod1/network/netperf.yaml b/test_plan/dell-pod1/network/netperf.yaml index f4ce396b..f4ce396b 100644 --- a/test_cases/dell-pod1/network/netperf.yaml +++ b/test_plan/dell-pod1/network/netperf.yaml diff --git a/test_cases/dell-pod1/storage/fio_bm.yaml b/test_plan/dell-pod1/storage/fio_bm.yaml index 755bb730..755bb730 100644 --- a/test_cases/dell-pod1/storage/fio_bm.yaml +++ b/test_plan/dell-pod1/storage/fio_bm.yaml diff --git a/test_cases/dell-pod1/storage/fio_vm.yaml b/test_plan/dell-pod1/storage/fio_vm.yaml index 5ae90d2c..5ae90d2c 100644 --- a/test_cases/dell-pod1/storage/fio_vm.yaml +++ b/test_plan/dell-pod1/storage/fio_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/dhrystone_bm.yaml b/test_plan/dell-us-deploying-bm3/compute/dhrystone_bm.yaml index 4c1fc962..4c1fc962 100644 --- a/test_cases/dell-us-deploying-bm3/compute/dhrystone_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/dhrystone_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/dhrystone_vm.yaml b/test_plan/dell-us-deploying-bm3/compute/dhrystone_vm.yaml index 8f5a4165..8f5a4165 100644 --- a/test_cases/dell-us-deploying-bm3/compute/dhrystone_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/dhrystone_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/dpi_bm.yaml b/test_plan/dell-us-deploying-bm3/compute/dpi_bm.yaml index 1bc534b3..1bc534b3 100644 --- a/test_cases/dell-us-deploying-bm3/compute/dpi_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/dpi_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/dpi_vm.yaml b/test_plan/dell-us-deploying-bm3/compute/dpi_vm.yaml index 10e86993..10e86993 100644 --- a/test_cases/dell-us-deploying-bm3/compute/dpi_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/dpi_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/ramspeed_bm.yaml b/test_plan/dell-us-deploying-bm3/compute/ramspeed_bm.yaml index a63df3e2..a63df3e2 100644 --- a/test_cases/dell-us-deploying-bm3/compute/ramspeed_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/ramspeed_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/ramspeed_vm.yaml b/test_plan/dell-us-deploying-bm3/compute/ramspeed_vm.yaml index a6a4363f..a6a4363f 100644 --- a/test_cases/dell-us-deploying-bm3/compute/ramspeed_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/ramspeed_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/ssl_bm.yaml b/test_plan/dell-us-deploying-bm3/compute/ssl_bm.yaml index dc038822..dc038822 100644 --- a/test_cases/dell-us-deploying-bm3/compute/ssl_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/ssl_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/ssl_vm.yaml b/test_plan/dell-us-deploying-bm3/compute/ssl_vm.yaml index 37824896..37824896 100644 --- a/test_cases/dell-us-deploying-bm3/compute/ssl_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/ssl_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/whetstone_bm.yaml b/test_plan/dell-us-deploying-bm3/compute/whetstone_bm.yaml index 180d4e51..180d4e51 100644 --- a/test_cases/dell-us-deploying-bm3/compute/whetstone_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/whetstone_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/compute/whetstone_vm.yaml b/test_plan/dell-us-deploying-bm3/compute/whetstone_vm.yaml index 0f1e8748..0f1e8748 100644 --- a/test_cases/dell-us-deploying-bm3/compute/whetstone_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/compute/whetstone_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml b/test_plan/dell-us-deploying-bm3/network/iperf_bm.yaml index 4c64dd16..4c64dd16 100644 --- a/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/network/iperf_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/network/iperf_vm.yaml b/test_plan/dell-us-deploying-bm3/network/iperf_vm.yaml index d7079e99..d7079e99 100644 --- a/test_cases/dell-us-deploying-bm3/network/iperf_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/network/iperf_vm.yaml diff --git a/test_cases/dell-us-deploying-bm3/network/iperf_vm_2.yaml b/test_plan/dell-us-deploying-bm3/network/iperf_vm_2.yaml index c5b94715..c5b94715 100644 --- a/test_cases/dell-us-deploying-bm3/network/iperf_vm_2.yaml +++ b/test_plan/dell-us-deploying-bm3/network/iperf_vm_2.yaml diff --git a/test_cases/dell-us-deploying-bm3/network/netperf.yaml b/test_plan/dell-us-deploying-bm3/network/netperf.yaml index f4ce396b..f4ce396b 100644 --- a/test_cases/dell-us-deploying-bm3/network/netperf.yaml +++ b/test_plan/dell-us-deploying-bm3/network/netperf.yaml diff --git a/test_cases/dell-us-deploying-bm3/storage/fio_bm.yaml b/test_plan/dell-us-deploying-bm3/storage/fio_bm.yaml index 12be8c17..12be8c17 100644 --- a/test_cases/dell-us-deploying-bm3/storage/fio_bm.yaml +++ b/test_plan/dell-us-deploying-bm3/storage/fio_bm.yaml diff --git a/test_cases/dell-us-deploying-bm3/storage/fio_vm.yaml b/test_plan/dell-us-deploying-bm3/storage/fio_vm.yaml index 5ae90d2c..5ae90d2c 100644 --- a/test_cases/dell-us-deploying-bm3/storage/fio_vm.yaml +++ b/test_plan/dell-us-deploying-bm3/storage/fio_vm.yaml diff --git a/tests/args_handler_test.py b/tests/args_handler_test.py index e6500862..a5c2223f 100644 --- a/tests/args_handler_test.py +++ b/tests/args_handler_test.py @@ -13,7 +13,7 @@ import func.args_handler class TestClass: @pytest.mark.parametrize("test_input, expected", [ - (['fuel', '/home', './test_cases/default/network/iperf_bm.yaml'], + (['fuel', '/home', './test_plan/default/network/iperf_bm.yaml'], ['fuel', '/home', "iperf", [('1-server', ['10.20.0.23']), ('2-host', ['10.20.0.24'])], "iperf_bm.yaml", diff --git a/tests/cli_test.py b/tests/cli_test.py index e47d99ad..d558329f 100644 --- a/tests/cli_test.py +++ b/tests/cli_test.py @@ -9,7 +9,7 @@ class TestClass: (['-l', 'zte', '-f', - 'compute'], "You have specified a lab that is not present in test_cases"), + 'compute'], "You have specified a lab that is not present in test_plan"), (['-l', 'default', '-f', @@ -28,8 +28,8 @@ class TestClass: (['-l', 'default', '-f', - 'storage'], [('fuel', '/home', './test_cases/default/storage/fio_bm.yaml'), - ('fuel', '/home', './test_cases/default/storage/fio_vm.yaml')]) + 'storage'], [('fuel', '/home', './test_plan/default/storage/fio_bm.yaml'), + ('fuel', '/home', './test_plan/default/storage/fio_vm.yaml')]) ]) @mock.patch('func.cli.args_handler.prepare_and_run_benchmark') def test_cli_successful(self, mock_args_handler, test_input, expected): |