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
2f6c41d5
Commit
2f6c41d5
authored
13 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
fix test case 3v: revert dropping data set dropping. Assume changes in database
SVN: 21121
parent
fd23c6b7
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-3v.sh
+8
-4
8 additions, 4 deletions
integration-tests/test-3v.sh
with
8 additions
and
4 deletions
integration-tests/test-3v.sh
+
8
−
4
View file @
2f6c41d5
...
...
@@ -46,11 +46,15 @@ function generate_test_data {
copy_test_data 3VCP1
$DIR
sleep
30
# drop an identifyable invalid data set (wrong image name, missing plate)
copy_test_data 3VCP3
$DIR
sleep
30
# drop an unidentifyable data set
copy_test_data UnknownPlate
$DIR
sleep
30
# drop 3VCP
3
# drop 3VCP
1 again but this time it is a valid data set
copy_test_data 3VCP3
$DATA
mv
$DATA
/3VCP3/TIFF/blabla_3VCP1_K13_8_w460.tif
$DATA
/3VCP3/TIFF/blabla_3VCP3_K13_8_w460.tif
echo
image
for
well M03
>
$DATA
/3VCP3/TIFF/blabla_3VCP3_M03_2_w350.tif
...
...
@@ -177,11 +181,11 @@ function assert_correct_content {
assert_correct_dataset_content_in_database 2
"2;EXP1;DSS1;MICROX-3VCP1;f;;U;microX;2008-01-01.*"
assert_correct_dataset_content_in_database 3
"3;EXP1;DSS1;20[0-9]*-22;f;;U;;"
assert_correct_dataset_content_in_database 4
"4;EXP1;DSS1;20[0-9]*-23;f;;U;;"
assert_correct_dataset_content_in_database 5
"5;EXP1;DSS1;
20[0-9]*-24;f;;U;;"
assert_correct_dataset_content_in_database 6
"6;EXP1;DSS1;
MICROX-3VCP3;f;;U;microX;2008-01-01.*"
assert_correct_dataset_content_in_database 5
"5;EXP1;DSS1;
MICROX-3VCP3;f;;U;microX;2008-01-01.*"
assert_correct_dataset_content_in_database 6
"6;EXP1;DSS1;
20[0-9]*-24;f;;U;;"
assert_correct_dataset_content_in_database 7
"7;EXP1;DSS1;20[0-9]*-26;f;;U;;"
assert_correct_dataset_content_in_database 8
".*8;EXP1;DSS2;20[0-9]*-27;f;2;U;;.*"
assert_correct_dataset_content_in_database 8
".*8;EXP1;DSS2;20[0-9]*-27;f;
6
;U;;.*"
assert_correct_dataset_content_in_database 8
".*8;EXP1;DSS2;20[0-9]*-27;f;
5
;U;;.*"
assert_equals
"Content of file in drop box1"
"hello world"
"
`
cat
$DATA
/drop-box1/nemo.exp1_MICROX-3VCP1.MICROX-3VCP3
*
-27
.txt
`
"
assert_equals
"Content of file in drop box2"
"hello world"
"
`
cat
$DATA
/drop-box2/nemo.exp1_MICROX-3VCP1.MICROX-3VCP3
*
-27
.txt
`
"
}
...
...
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