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
9d509fc2
"clcbio-server-sdk/CLC Developer Kit Server.launch" did not exist on "80a83f5118953a132d137e9dd7ae64bb8a568b73"
Commit
9d509fc2
authored
16 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-333 check is_complete in database
SVN: 5646
parent
603370ce
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/run.sh
+13
-12
13 additions, 12 deletions
integration-tests/run.sh
with
13 additions
and
12 deletions
integration-tests/run.sh
+
13
−
12
View file @
9d509fc2
...
...
@@ -687,10 +687,11 @@ function assert_correct_dataset_content_in_database {
local
pattern
=
$2
local
dataset
=
`
psql
-U
postgres
-d
lims_integration_test
\
-c
"select d.id, pt.code as procedure_type, d.code, d.is_placeholder, r.data_id_parent,
\
d.data_producer_code, d.production_timestamp
\
from data as d left join data_set_relationships as r on r.data_id_child = d.id,
procedures as p join procedure_types as pt on pt.id = p.pcty_id
where p.id = d.proc_id_produced_by and d.id =
$dataset_id
"
\
ed.is_complete, d.data_producer_code, d.production_timestamp
\
from data as d left join data_set_relationships as r on r.data_id_child = d.id,
\
procedures as p join procedure_types as pt on pt.id = p.pcty_id,
\
external_data as ed
\
where ed.data_id = d.id and p.id = d.proc_id_produced_by and d.id =
$dataset_id
"
\
|
awk
'/ +[0-9]+/'
\
|
awk
'{gsub(/ /,"");print}'
\
|
awk
'{gsub(/\|/,";");print}'
`
...
...
@@ -712,14 +713,14 @@ function assert_correct_content {
assert_correct_content_of_image_analysis_data 3VCP3
assert_correct_content_of_image_analysis_data 3VCP4
assert_correct_content_of_unidentified_plate_in_store UnknownPlate
assert_correct_dataset_content_in_database 1
"1;DATA_ACQUISITION;MICROX-3VCP1;f;;microX;2008-01-01.*"
assert_correct_dataset_content_in_database 2
"2;IMAGE_ANALYSIS;20[0-9]*-2;f;1;;"
assert_correct_dataset_content_in_database 3
"3;IMAGE_ANALYSIS;20[0-9]*-3;f;1;;"
assert_correct_dataset_content_in_database 4
"4;IMAGE_ANALYSIS;20[0-9]*-4;f;5;;"
assert_correct_dataset_content_in_database 5
"5;DATA_ACQUISITION;MICROX-3VCP3;f;;microX;2008-01-01.*"
assert_correct_dataset_content_in_database 6
"6;IMAGE_ANALYSIS;20[0-9]*-6;f;7;;"
assert_correct_dataset_content_in_database 7
"7;UNKNOWN;MICROX-3VCP4;t;;;"
assert_correct_dataset_content_in_database 8
"8;IMAGE_ANALYSIS;20[0-9]*-8;f;5;;"
assert_correct_dataset_content_in_database 1
"1;DATA_ACQUISITION;MICROX-3VCP1;f;;
F;
microX;2008-01-01.*"
assert_correct_dataset_content_in_database 2
"2;IMAGE_ANALYSIS;20[0-9]*-2;f;1;;
U;
"
assert_correct_dataset_content_in_database 3
"3;IMAGE_ANALYSIS;20[0-9]*-3;f;1;;
U;
"
assert_correct_dataset_content_in_database 4
"4;IMAGE_ANALYSIS;20[0-9]*-4;f;5;;
U;
"
assert_correct_dataset_content_in_database 5
"5;DATA_ACQUISITION;MICROX-3VCP3;f;;
F;
microX;2008-01-01.*"
assert_correct_dataset_content_in_database 6
"6;IMAGE_ANALYSIS;20[0-9]*-6;f;7;;
U;
"
assert_correct_dataset_content_in_database 7
"7;UNKNOWN;MICROX-3VCP4;t;;;
U;
"
assert_correct_dataset_content_in_database 8
"8;IMAGE_ANALYSIS;20[0-9]*-8;f;5;;
U;
"
}
function
integration_tests
{
...
...
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