Skip to content
Snippets Groups Projects
Commit aadac033 authored by tpylak's avatar tpylak
Browse files

LMS-1546 HCS: switch off api tests for now

SVN: 16763
parent 26b5f178
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ function prepare_data_second_phase {
chmod -R 700 $DSS_INCOMING_PARENT_DIR/incoming*
}
function fetch_distributions {
rm -fr $INSTALL
mkdir -p $INSTALL
......@@ -92,16 +93,16 @@ function install_screening_api {
function install_screening {
fetch_distributions
echo Dropping imaging database: $IMAGING_DB
psql_cmd=`run_psql`
$psql_cmd -U postgres -c "drop database if exists $IMAGING_DB"
rm -fr $WORK
mkdir -p $WORK
install_dss_screening
install_and_run_openbis_server_screening "true"
install_screening_api
echo Dropping imaging database: $IMAGING_DB
psql_cmd=`run_psql`
$psql_cmd -U postgres -c "drop database if exists $IMAGING_DB"
install_screening_api
}
function test_screening_api {
......@@ -135,7 +136,8 @@ function integration_tests_screening {
local datasets=`find $DSS_INCOMING_PARENT_DIR/store -name "original" | wc -l | tr -d " "`;
assert_equals "Wrong number of registered datasets" 5 $datasets
test_screening_api
# TODO: uncomment and add a check if the results are correct
#test_screening_api
switch_dss "off" datastore_server_screening
shutdown_openbis_server $OPENBIS_SERVER_HCS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment