Updated the multi-VO Travis suite to run twice on two VOs (tst and ts2) without clearing the DB (but the cache is cleared as otherwise we wouldn't pick up newly added RSEs - this is not an exclusively multi-VO issue), along with some other modifications needed to make this work:
Removed hardcoding for tst during tests; now use config_get() and modify rucio.cfg between tests
Changed how we clear the cache in the test scripts as Travis doesn't have netcat/nc
Improved exception handling in sync_meta.py to identify duplication so it's more in line with other files
Added VO to a number of replica functions: list_bad_replicas_status, get_pfn_to_rse, declare_bad_file_replica, get_bad_replicas_summary and get_did_from_pfns
This is dependent on issue #60 / PR #63 as we need to store the clientside tokens by VO in order to run the successive tests.
Enable 2 consecutive test suites on seperate VOs
Updated the multi-VO Travis suite to run twice on two VOs (
tst
andts2
) without clearing the DB (but the cache is cleared as otherwise we wouldn't pick up newly added RSEs - this is not an exclusively multi-VO issue), along with some other modifications needed to make this work:Removed hardcoding for
tst
during tests; now useconfig_get()
and modifyrucio.cfg
between testsChanged how we clear the cache in the test scripts as Travis doesn't have
netcat
/nc
Improved exception handling in
sync_meta.py
to identify duplication so it's more in line with other filesAdded VO to a number of replica functions:
list_bad_replicas_status
,get_pfn_to_rse
,declare_bad_file_replica
,get_bad_replicas_summary
andget_did_from_pfns
This is dependent on issue #60 / PR #63 as we need to store the clientside tokens by VO in order to run the successive tests.