Skip to content

Commit

Permalink
run-ssd-test to runOnSSD
Browse files Browse the repository at this point in the history
  • Loading branch information
gargnitingoogle committed Jul 27, 2024
1 parent ed91064 commit 2958a3c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions perfmetrics/scripts/testing_on_gke/examples/dlio/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def ParseTestConfigForDlioWorkloads(testConfigFileName):
scenarios = (
['local-ssd', 'gcsfuse-generic']
if (
'run-ssd-test' not in workloadConfig
or workloadConfig['run-ssd-test']
'runOnSSD' not in workloadConfig
or workloadConfig['runOnSSD']
)
else ['gcsfuse-generic']
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"_comment": "Any element starting with _ is a comment.",
"TestConfig": {
"workloadConfig": {
"_description": "workloadConfig has an optional field run-ssd-test (default true if missing), and an array of workloads.",
"run-ssd-test": true,
"_description": "workloadConfig has an optional field runOnSSD (default true if missing), and an array of workloads.",
"runOnSSD": true,
"workloads": [
{
"_description": "This is a dummy dlio workload (missing the 'dlioWorkload' field), purely standing as a header and does not execute any workload. For it to execute a dlio workload, it must have a valid dlioWorkload field and a valid bucket.",
Expand Down
4 changes: 2 additions & 2 deletions perfmetrics/scripts/testing_on_gke/examples/fio/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def ParseTestConfigForFioWorkloads(testConfigFileName):
scenarios = (
['local-ssd', 'gcsfuse-generic']
if (
'run-ssd-test' not in workloadConfig
or workloadConfig['run-ssd-test']
'runOnSSD' not in workloadConfig
or workloadConfig['runOnSSD']
)
else ['gcsfuse-generic']
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"_comment": "Any element starting with _ is a comment.",
"TestConfig": {
"workloadConfig": {
"_description": "workloadConfig has an optional field run-ssd-test (default true if missing), and an array of workloads.",
"run-ssd-test": true,
"_description": "workloadConfig has an optional field runOnSSD (default true if missing), and an array of workloads.",
"runOnSSD": true,
"workloads": [
{
"_description": "This is a dummy fio workload (missing the 'fioWorkload' field), purely standing as a header and does not execute any workload. For it to execute a fio workload, it must have a valid fioWorkload field and a valid bucket.",
Expand Down

0 comments on commit 2958a3c

Please sign in to comment.