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
be85314c
Commit
be85314c
authored
15 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
SE-133 YeastX - integration tests: more functions to speed up whole tests
SVN: 12751
parent
72916696
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integration-tests/test-yeastx.sh
+21
-7
21 additions, 7 deletions
integration-tests/test-yeastx.sh
with
21 additions
and
7 deletions
integration-tests/test-yeastx.sh
+
21
−
7
View file @
be85314c
...
...
@@ -44,8 +44,7 @@ function prepare_data {
change_modification_time_alphabetically
$MY_DATA
/incoming
}
function
build_and_install_yeastx
{
function
build_and_install_components
{
local
use_local_source
=
$1
local
install_dss
=
true
...
...
@@ -53,7 +52,9 @@ function build_and_install_yeastx {
local
install_openbis
=
true
local
reinstall_all
=
false
build_and_install
$install_dss
$install_dmv
$install_openbis
$use_local_source
$reinstall_all
}
function
build_and_install_yeastx
{
cp
$INSTALL
/datastore_server-plugins.jar
$WORK
/datastore_server_yeastx/lib/
chmod_exec
$WORK
/datastore_server_yeastx/takeCifsOwnershipRecursive.sh
...
...
@@ -196,9 +197,7 @@ function assert_correct_incoming_contents {
}
function
integration_tests_yeastx
{
local
use_local_source
=
$1
build_and_install_yeastx
$use_local_source
build_and_install_yeastx
switch_dss
"on"
datastore_server_yeastx
sleep
90
...
...
@@ -209,4 +208,19 @@ function integration_tests_yeastx {
exit_if_assertion_failed
}
integration_tests_yeastx
false
function
build_from_local_source_and_test
{
build_and_install_components
true
integration_tests_yeastx
}
function
build_from_svn_source_and_test
{
build_and_install_components
false
integration_tests_yeastx
}
# can be called only if the build has been already done
function
test_without_build
{
integration_tests_yeastx
}
test_without_build
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