Project

General

Profile

Bug #17138

Unit test FEElementTestCase.test_compute_glidein_max_run is failing

Added by Marco Mambelli almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
07/10/2017
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

Fix the FEElementTestCase.test_compute_glidein_max_run unit test that is failing:

Error Message

'IdleLifetime'

Stacktrace

Traceback (most recent call last):
  File "./test_frontend_element.py", line 83, in setUp
    create_glideinFrontendElement()
  File "/scratch/workspace/GlideinWMS-Unittests/label/RHEL6/venv/lib/python2.6/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "./test_frontend_element.py", line 80, in create_glideinFrontendElement
    self.gfe = glideinFrontendElement.glideinFrontendElement(1, '', 'group1', '')
  File "/scratch/workspace/GlideinWMS-Unittests/label/RHEL6/glideinwms/frontend/glideinFrontendElement.py", line 122, in __init__
    self.idle_lifetime = int(self.elementDescript.element_data['IdleLifetime'])
KeyError: 'IdleLifetime'

History

#1 Updated by Marco Mambelli almost 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Marco Mambelli

Changes in v3/17137 fixed also this ticket

#2 Updated by Marco Mambelli over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF