Skip to content

Commit

Permalink
Merge pull request #519 from fomars/develop
Browse files Browse the repository at this point in the history
 removed "regression" option from DataUploader
  • Loading branch information
fomars committed Feb 27, 2018
2 parents 4f89cc3 + 6de59b9 commit cb128f9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion yandextank/config_converter/tests/test_config3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ uploader:
component: '177'
job_name: light
ignore_target_lock: true
regress: true
notify:
- fomars
meta:
regress: '1'
launched_from: centurion
#production log
phantom:
Expand Down
2 changes: 0 additions & 2 deletions yandextank/plugins/DataUploader/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ def edit_job_metainfo(
ammo_path,
loop_count,
version_tested,
is_regression,
component,
cmdline,
is_starred,
Expand All @@ -382,7 +381,6 @@ def edit_job_metainfo(
'ammo': ammo_path,
'loop': loop_count,
'version': version_tested,
'regression': str(is_regression),
'component': component,
'tank_type': int(tank_type),
'command_line': cmdline,
Expand Down
4 changes: 0 additions & 4 deletions yandextank/plugins/DataUploader/config/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ operator:
type: string
nullable: true
default: null
regress:
description: mark test as regression
default: false
type: boolean
send_status_period:
description: delay between status notifications
default: 10
Expand Down
6 changes: 0 additions & 6 deletions yandextank/plugins/DataUploader/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def get_available_options(self):
"job_dsc",
"notify",
"ver", "component",
"regress",
"operator",
"jobno_file",
"ignore_target_lock",
Expand Down Expand Up @@ -237,9 +236,6 @@ def prepare_test(self):
instances=instances,
ammo_path=ammo_path,
loop_count=loop_count,
is_regression=self.get_option(
'regress',
'0'),
regression_component=self.get_option("component"),
cmdline=cmdline,
) # todo: tanktype?
Expand Down Expand Up @@ -736,7 +732,6 @@ def edit_metainfo(
instances=0,
ammo_path=None,
loop_count=None,
is_regression=None,
regression_component=None,
cmdline=None,
is_starred=False,
Expand All @@ -749,7 +744,6 @@ def edit_metainfo(
ammo_path=ammo_path,
loop_count=loop_count,
version_tested=self.version,
is_regression=is_regression,
component=regression_component,
cmdline=cmdline,
is_starred=is_starred,
Expand Down

0 comments on commit cb128f9

Please sign in to comment.