Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
aadac033
Commit
aadac033
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integration-tests/test-screening.sh
+8
-6
8 additions, 6 deletions
integration-tests/test-screening.sh
with
8 additions
and
6 deletions
integration-tests/test-screening.sh
+
8
−
6
View file @
aadac033
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment