Project

General

Profile

Bug #17137

Fix FEElementTestCase.test_get_condor_q unit test

Added by Marco Mambelli about 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

The test is failin when running manually or in Jenkins:

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 about 3 years ago

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

Fixes in v3/17137

#2 Updated by Marco Mambelli about 3 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from Marco Mambelli to HyunWoo Kim

#3 Updated by HyunWoo Kim almost 3 years ago

  • Status changed from Feedback to Assigned
  • Assignee changed from HyunWoo Kim to Marco Mambelli

Okay, this change also looks very straightforward.

#4 Updated by Marco Mambelli almost 3 years ago

  • Status changed from Assigned to Resolved

#5 Updated by Marco Mambelli over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF