Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
e35be414
Commit
e35be414
authored
8 years ago
by
Jaemyoun
Browse files
Options
Downloads
Patches
Plain Diff
Skipping rados-tests
parent
a9c461cf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rados/pom.xml
+10
-4
10 additions, 4 deletions
rados/pom.xml
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
+9
-2
9 additions, 2 deletions
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
with
19 additions
and
6 deletions
rados/pom.xml
+
10
−
4
View file @
e35be414
...
...
@@ -47,10 +47,16 @@ LICENSE file.
<version>
${json.version}
</version>
</dependency>
<dependency>
<groupId>
org.testng
</groupId>
<artifactId>
testng
</artifactId>
<version>
6.1.1
</version>
<scope>
test
</scope>
<groupId>
org.testng
</groupId>
<artifactId>
testng
</artifactId>
<version>
6.1.1
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.12
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
...
...
This diff is collapsed.
Click to expand it.
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
+
9
−
2
View file @
e35be414
...
...
@@ -19,6 +19,8 @@ package com.yahoo.ycsb.db;
import
static
org
.
testng
.
AssertJUnit
.
assertEquals
;
import
static
org
.
junit
.
Assume
.
assumeNoException
;
import
com.yahoo.ycsb.ByteIterator
;
import
com.yahoo.ycsb.DBException
;
import
com.yahoo.ycsb.Status
;
...
...
@@ -75,8 +77,13 @@ public class RadosClientTest {
Properties
p
=
new
Properties
();
p
.
setProperty
(
POOL_PROPERTY
,
POOL_TEST
);
radosclient
.
setProperties
(
p
);
radosclient
.
init
();
try
{
radosclient
.
setProperties
(
p
);
radosclient
.
init
();
}
catch
(
DBException
e
)
{
assumeNoException
(
"Ceph cluster is not running. Skipping tests."
,
e
);
}
}
@AfterClass
...
...
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