Project

General

Profile

Bug #20945

Remove link to RPM directory from unit tests

Added by Marco Mambelli over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/26/2018
Due date:
% Done:

0%

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

Description

In the unit tests there are directories that are symbolic link to: /var/lib/gwms-factory/web-area/monitor/entry_*
These are: unittests/fixtures/factory/work-dir/entry_*/monitor

These should be removed because unit tests should not require the RPM package to be installed.
If some monitoring files are required for tests, these should be copied in the fixtures and links should be internal.

$ ls -l unittests/fixtures/factory/work-dir/entry_el6_osg33/
total 56
-rw-r--r--  1 marcom  staff   571 Sep 24 13:32 attributes.cfg
-rw-r--r--  1 marcom  staff   155 Sep 24 13:32 infosys.descript
-rw-r--r--  1 marcom  staff  1599 Sep 24 13:32 job.condor
-rw-r--r--  1 marcom  staff   833 Sep 24 13:32 job.descript
lrwxr-xr-x  1 marcom  staff    54 Sep 24 13:32 monitor -> /var/lib/gwms-factory/web-area/monitor/entry_el6_osg33
-rw-r--r--  1 marcom  staff    92 Sep 24 13:32 monitor.xml
-rw-r--r--  1 marcom  staff    86 Sep 24 13:32 params.cfg

History

#1 Updated by Dennis Box over 1 year ago

  • Status changed from New to Feedback

please see branch v34/20945

#2 Updated by Dennis Box over 1 year ago

  • Assignee changed from Dennis Box to Marco Mambelli

#3 Updated by Marco Mambelli over 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Marco Mambelli to Dennis Box

#4 Updated by Marco Mambelli about 1 year ago

  • Target version changed from v3_5 to v3_4_2

#5 Updated by Marco Mambelli about 1 year ago

  • Target version changed from v3_4_2 to v3_4_3

#6 Updated by Marco Mambelli about 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF