@@ -54,6 +54,10 @@ pytest --no-check-dirac-environment "${THIS_DIR}/WorkloadManagementSystem/Test_P
54
54
pytest --no-check-dirac-environment " ${THIS_DIR} /WorkloadManagementSystem/Test_SandboxMetadataDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
55
55
# pytest --no-check-dirac-environment "${THIS_DIR}/WorkloadManagementSystem/Test_JobCleaningAgent.py" |& tee -a "${SERVER_TEST_OUTPUT}"; (( ERR |= "${?}" ))
56
56
57
+ # -------------------------------------------------------------------------------#
58
+ echo -e " *** $( date -u) **** RMS TESTS ****\n"
59
+ pytest --no-check-dirac-environment " ${THIS_DIR} /RequestManagementSystem/Test_ReqDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
60
+
57
61
# -------------------------------------------------------------------------------#
58
62
echo -e " *** $( date -u) **** DMS TESTS ****\n"
59
63
pytest --no-check-dirac-environment " ${THIS_DIR} /DataManagementSystem/Test_DataIntegrityDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
@@ -70,12 +74,11 @@ echo -e "*** $(date -u) Restart the DFC service (required for Test_Client_DFC)\
70
74
if [[ " ${TEST_HTTPS:- Yes} " = " No" ]]; then
71
75
dirac-restart-component DataManagement FileCatalog " ${DEBUG} " | & tee -a " ${SERVER_TEST_OUTPUT} "
72
76
fi
73
- dirac-restart-component Tornado Tornado " ${DEBUG} " | & tee -a " ${SERVER_TEST_OUTPUT} "
74
77
75
78
echo -e " *** $( date -u) Run the DFC client tests as user without admin privileges" | & tee -a " ${SERVER_TEST_OUTPUT} "
76
79
echo -e " *** $( date -u) Getting a non privileged user\n" | & tee -a " ${SERVER_TEST_OUTPUT} "
77
- # dirac-proxy-init "${DEBUG}"
78
- # python "${THIS_DIR}/DataManagementSystem/Test_Client_DFC.py" |& tee -a "${SERVER_TEST_OUTPUT}"; (( ERR |= "${?}" ))
80
+ dirac-proxy-init -C /ca/certs/client.pem -K /ca/certs/client.key " ${DEBUG} "
81
+ python " ${THIS_DIR} /DataManagementSystem/Test_Client_DFC.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
79
82
diracDFCDB | & tee -a " ${SERVER_TEST_OUTPUT} "
80
83
python " ${THIS_DIR} /DataManagementSystem/Test_FileCatalogDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
81
84
@@ -86,19 +89,19 @@ echo -e "*** $(date -u) Restart the DFC service (required for Test_Client_DFC)\
86
89
if [[ " ${TEST_HTTPS:- Yes} " = " No" ]]; then
87
90
dirac-restart-component DataManagement FileCatalog " ${DEBUG} " | & tee -a " ${SERVER_TEST_OUTPUT} "
88
91
fi
89
- # dirac-restart-component Tornado Tornado "${DEBUG}" |& tee -a "${SERVER_TEST_OUTPUT}"
90
92
91
93
echo -e " *** $( date -u) Run it with the admin privileges" | & tee -a " ${SERVER_TEST_OUTPUT} "
92
94
echo -e " *** $( date -u) getting the prod role again\n" | & tee -a " ${SERVER_TEST_OUTPUT} "
93
- # dirac-proxy-init -g prod "${DEBUG}" |& tee -a "${SERVER_TEST_OUTPUT}"
94
- # python "${THIS_DIR}/DataManagementSystem/Test_Client_DFC.py" |& tee -a "${SERVER_TEST_OUTPUT}"; (( ERR |= "${?}" ))
95
+ dirac-proxy-init -g prod -C /ca/certs/client.pem -K /ca/certs/client.key " ${DEBUG} " | & tee -a " ${SERVER_TEST_OUTPUT} "
96
+ python " ${THIS_DIR} /DataManagementSystem/Test_Client_DFC.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
95
97
diracDFCDB | & tee -a " ${SERVER_TEST_OUTPUT} "
96
98
python " ${THIS_DIR} /DataManagementSystem/Test_FileCatalogDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
97
99
98
100
99
101
# -------------------------------------------------------------------------------#
100
- echo -e " *** $( date -u) **** RMS TESTS ****\n"
101
- pytest --no-check-dirac-environment " ${THIS_DIR} /RequestManagementSystem/Test_ReqDB.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
102
+ echo -e " *** $( date -u) **** FTS TESTS ****\n"
103
+ # I know, it says Client, but it also instantiates a DB, so it needs to be here
104
+ pytest --no-check-dirac-environment " ${THIS_DIR} /DataManagementSystem/Test_Client_FTS3.py" | & tee -a " ${SERVER_TEST_OUTPUT} " ; (( ERR |= "${?} " ))
102
105
103
106
# -------------------------------------------------------------------------------#
104
107
echo -e " *** $( date -u) **** Resources TESTS ****\n"
0 commit comments