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
1db823af
Commit
1db823af
authored
8 years ago
by
Kevin Risden
Browse files
Options
Downloads
Patches
Plain Diff
[cassandra] Increase Cassandra test timeout and add logging
parent
a13fc489
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
cassandra/pom.xml
+6
-0
6 additions, 0 deletions
cassandra/pom.xml
cassandra/src/test/java/com/yahoo/ycsb/db/CassandraCQLClientTest.java
+5
-1
5 additions, 1 deletion
...c/test/java/com/yahoo/ycsb/db/CassandraCQLClientTest.java
with
11 additions
and
1 deletion
cassandra/pom.xml
+
6
−
0
View file @
1db823af
...
@@ -56,6 +56,12 @@ LICENSE file.
...
@@ -56,6 +56,12 @@ LICENSE file.
<classifier>
shaded
</classifier>
<classifier>
shaded
</classifier>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-simple
</artifactId>
<version>
1.7.21
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<dependency>
<groupId>
junit
</groupId>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<artifactId>
junit
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
cassandra/src/test/java/com/yahoo/ycsb/db/CassandraCQLClientTest.java
+
5
−
1
View file @
1db823af
...
@@ -54,6 +54,9 @@ import java.util.Set;
...
@@ -54,6 +54,9 @@ import java.util.Set;
* Integration tests for the Cassandra client
* Integration tests for the Cassandra client
*/
*/
public
class
CassandraCQLClientTest
{
public
class
CassandraCQLClientTest
{
// Change the default Cassandra timeout from 10s to 120s for slow CI machines
private
final
static
long
timeout
=
120000L
;
private
final
static
String
TABLE
=
"usertable"
;
private
final
static
String
TABLE
=
"usertable"
;
private
final
static
String
HOST
=
"localhost"
;
private
final
static
String
HOST
=
"localhost"
;
private
final
static
int
PORT
=
9142
;
private
final
static
int
PORT
=
9142
;
...
@@ -63,7 +66,8 @@ public class CassandraCQLClientTest {
...
@@ -63,7 +66,8 @@ public class CassandraCQLClientTest {
private
Session
session
;
private
Session
session
;
@ClassRule
@ClassRule
public
static
CassandraCQLUnit
cassandraUnit
=
new
CassandraCQLUnit
(
new
ClassPathCQLDataSet
(
"ycsb.cql"
,
"ycsb"
));
public
static
CassandraCQLUnit
cassandraUnit
=
new
CassandraCQLUnit
(
new
ClassPathCQLDataSet
(
"ycsb.cql"
,
"ycsb"
),
null
,
timeout
);
@Before
@Before
public
void
setUp
()
throws
Exception
{
public
void
setUp
()
throws
Exception
{
...
...
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