Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
366cbf4a
Commit
366cbf4a
authored
8 years ago
by
Jaemyoun
Browse files
Options
Downloads
Patches
Plain Diff
changed test annotation class
parent
a5538c90
No related branches found
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
+4
-9
4 additions, 9 deletions
rados/pom.xml
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
+9
-10
9 additions, 10 deletions
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
with
13 additions
and
19 deletions
rados/pom.xml
+
4
−
9
View file @
366cbf4a
...
...
@@ -47,22 +47,17 @@ LICENSE file.
<version>
${json.version}
</version>
</dependency>
<dependency>
<groupId>
org.testng
</groupId>
<artifactId>
testng
</artifactId>
<version>
6.1.1
</version>
<scope>
test
</scope>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna
</artifactId>
<version>
4.2.2
</version>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.12
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna
</artifactId>
<version>
4.2.2
</version>
</dependency>
</dependencies>
<properties>
...
...
This diff is collapsed.
Click to expand it.
rados/src/test/java/com/yahoo/ycsb/db/RadosClientTest.java
+
9
−
10
View file @
366cbf4a
...
...
@@ -17,8 +17,7 @@
package
com.yahoo.ycsb.db
;
import
static
org
.
testng
.
AssertJUnit
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assume
.
assumeNoException
;
import
com.yahoo.ycsb.ByteIterator
;
...
...
@@ -26,11 +25,11 @@ import com.yahoo.ycsb.DBException;
import
com.yahoo.ycsb.Status
;
import
com.yahoo.ycsb.StringByteIterator
;
import
org.
testng.annotations
.AfterClass
;
import
org.
testng.annotations.AfterMethod
;
import
org.
testng.annotations
.BeforeClass
;
import
org.
testng.annotations
.Before
Method
;
import
org.
testng.annotations
.Test
;
import
org.
junit
.AfterClass
;
import
org.
junit.After
;
import
org.
junit
.BeforeClass
;
import
org.
junit
.Before
;
import
org.
junit
.Test
;
import
java.util.HashMap
;
import
java.util.Iterator
;
...
...
@@ -71,7 +70,7 @@ public class RadosClientTest {
}
@BeforeClass
public
void
setupClass
()
throws
DBException
{
public
static
void
setupClass
()
throws
DBException
{
radosclient
=
new
RadosClient
();
Properties
p
=
new
Properties
();
...
...
@@ -93,12 +92,12 @@ public class RadosClientTest {
}
}
@Before
Method
@Before
public
void
setUp
()
{
radosclient
.
insert
(
TABLE_NAME
,
KEY0
,
DATA
);
}
@After
Method
@After
public
void
tearDown
()
{
radosclient
.
delete
(
TABLE_NAME
,
KEY0
);
}
...
...
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