Skip to content
Snippets Groups Projects
Commit 309084e4 authored by Kevin Risden's avatar Kevin Risden
Browse files

Merge pull request #628 from busbey/accumulo-windows

[accumulo] don't run Accumulo tests on windows build.
parents c4d00742 012e48ff
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ package com.yahoo.ycsb.db.accumulo;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
import java.util.Map.Entry;
import java.util.Properties;
......@@ -70,8 +71,16 @@ public class AccumuloTest {
private DB client;
private Properties workloadProps;
private static boolean isWindows() {
final String os = System.getProperty("os.name");
return os.startsWith("Windows");
}
@BeforeClass
public static void setup() throws Exception {
// Minicluster setup fails on Windows with an UnsatisfiedLinkError.
// Skip if windows.
assumeTrue(!isWindows());
cluster = new MiniAccumuloCluster(workingDir.newFolder("accumulo").getAbsoluteFile(), "protectyaneck");
LOG.debug("starting minicluster");
cluster.start();
......
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