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

Merge pull request #627 from brianfrankcooper/revert-626-accumulo-windows

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