change name for default config

fix None file
update progressbar properly
This commit is contained in:
Andrey Pohilko 2012-10-22 19:53:02 +04:00
parent e7be493fa6
commit cec55988da
5 changed files with 9 additions and 6 deletions

View File

@ -610,9 +610,7 @@ class PhantomConfig:
elif self.answ_log_level == '1': elif self.answ_log_level == '1':
self.answ_log_level = 'all' self.answ_log_level = 'all'
if self.answ_log_level != 'none':
self.answ_log = self.owner.core.mkstemp(".log", "answ_") self.answ_log = self.owner.core.mkstemp(".log", "answ_")
self.phout_file = self.owner.core.mkstemp(".log", "phout_") self.phout_file = self.owner.core.mkstemp(".log", "phout_")
self.owner.core.add_artifact_file(self.phout_file) self.owner.core.add_artifact_file(self.phout_file)

View File

@ -830,7 +830,6 @@ class Stepper:
input_ammo = open(ammo_file, 'rb') input_ammo = open(ammo_file, 'rb')
stepped_ammo = open(self.stpd_file, 'wb') stepped_ammo = open(self.stpd_file, 'wb')
for step in load_steps: for step in load_steps:
if not (cur_progress / 100) % 2:
pbar.update(cur_progress) pbar.update(cur_progress)
if case == 3: if case == 3:

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
yandex-load-tank-base (1.1.4) precise; urgency=low
* fix file descriptor leaks
-- Andrey Pohilko (undera) <undera@yandex-team.ru> Mon, 22 Oct 2012 16:01:47 +0400
yandex-load-tank-base (1.1.3) precise; urgency=high yandex-load-tank-base (1.1.3) precise; urgency=high
* fix bug with phantom timeout * fix bug with phantom timeout

2
debian/install vendored
View File

@ -3,4 +3,4 @@ tankcore.py usr/lib/yandex-tank
tank.py usr/lib/yandex-tank tank.py usr/lib/yandex-tank
*.sh usr/lib/yandex-tank *.sh usr/lib/yandex-tank
yandex-tank.ini etc/yandex-tank 00-base.ini etc/yandex-tank