Skip to content
Snippets Groups Projects
Commit e35be414 authored by Jaemyoun's avatar Jaemyoun
Browse files

Skipping rados-tests

parent a9c461cf
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment