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
b44e9121
Commit
b44e9121
authored
12 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
BIS-183 tests in SegmentedStoreShufflingTaskTest fixed
SVN: 26596
parent
09efd3d9
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
datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/plugins/SegmentedStoreShufflingTaskTest.java
+0
-8
0 additions, 8 deletions
...sd/etlserver/plugins/SegmentedStoreShufflingTaskTest.java
with
0 additions
and
8 deletions
datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/plugins/SegmentedStoreShufflingTaskTest.java
+
0
−
8
View file @
b44e9121
...
...
@@ -43,7 +43,6 @@ import ch.systemsx.cisd.common.filesystem.IFreeSpaceProvider;
import
ch.systemsx.cisd.common.logging.BufferedAppender
;
import
ch.systemsx.cisd.common.logging.ISimpleLogger
;
import
ch.systemsx.cisd.common.logging.LogLevel
;
import
ch.systemsx.cisd.common.test.RecordingMatcher
;
import
ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedOpenBISService
;
import
ch.systemsx.cisd.openbis.dss.generic.shared.utils.DssPropertyParametersUtil
;
import
ch.systemsx.cisd.openbis.dss.generic.shared.utils.Share
;
...
...
@@ -164,7 +163,6 @@ public class SegmentedStoreShufflingTaskTest extends AbstractFileSystemTestCase
FileUtilities
.
writeToFile
(
new
File
(
share2
,
"ds2"
),
"hello ds2"
);
prepareAsWithdrawShare
(
share2
);
balancerTask
.
setUp
(
"mock-balancer"
,
properties
);
final
RecordingMatcher
<
String
>
logMessageRecordingMatcher
=
new
RecordingMatcher
<
String
>();
final
Sequence
sequence1
=
context
.
sequence
(
"seq1"
);
context
.
checking
(
new
Expectations
()
{
...
...
@@ -197,7 +195,6 @@ public class SegmentedStoreShufflingTaskTest extends AbstractFileSystemTestCase
will
(
returnValue
(
Arrays
.
asList
(
ds1b
,
ds2
)));
inSequence
(
sequence1
);
one
(
logger
).
log
(
with
(
LogLevel
.
WARN
),
with
(
logMessageRecordingMatcher
));
allowing
(
logger
).
log
(
with
(
LogLevel
.
INFO
),
with
(
Matchers
.
startsWith
(
"Obtained the list of all "
...
...
@@ -229,8 +226,6 @@ public class SegmentedStoreShufflingTaskTest extends AbstractFileSystemTestCase
+
"INFO NOTIFY.SegmentedStoreShufflingTask - "
+
"The following shares were emptied by shuffling: [1]"
,
logRecorder
.
getLogContent
());
assertEquals
(
"Data set ds1 no longer exists in share 2."
,
logMessageRecordingMatcher
.
recordedObject
().
toString
());
context
.
assertIsSatisfied
();
}
...
...
@@ -244,9 +239,6 @@ public class SegmentedStoreShufflingTaskTest extends AbstractFileSystemTestCase
context
.
checking
(
new
Expectations
()
{
{
exactly
(
2
).
of
(
service
).
listDataSets
();
will
(
returnValue
(
Arrays
.
asList
()));
one
(
logger
).
log
(
LogLevel
.
INFO
,
"Data Store Shares:"
);
allowing
(
logger
).
log
(
with
(
LogLevel
.
INFO
),
...
...
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