You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2013/10/18 17:54:29 UTC
git commit: ACCUMULO-1637 Removing some bad tests that aren't
portable across hadoop versions.
Updated Branches:
refs/heads/1.5.1-SNAPSHOT 098762829 -> 957676e68
ACCUMULO-1637 Removing some bad tests that aren't portable across hadoop
versions.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/957676e6
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/957676e6
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/957676e6
Branch: refs/heads/1.5.1-SNAPSHOT
Commit: 957676e681c46044e9b46f172b8ab96bfdc6715a
Parents: 0987628
Author: Josh Elser <el...@apache.org>
Authored: Fri Oct 18 11:53:56 2013 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri Oct 18 11:53:56 2013 -0400
----------------------------------------------------------------------
.../tabletserver/TabletServerSyncCheckTest.java | 34 --------------------
1 file changed, 34 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/957676e6/server/src/test/java/org/apache/accumulo/server/tabletserver/TabletServerSyncCheckTest.java
----------------------------------------------------------------------
diff --git a/server/src/test/java/org/apache/accumulo/server/tabletserver/TabletServerSyncCheckTest.java b/server/src/test/java/org/apache/accumulo/server/tabletserver/TabletServerSyncCheckTest.java
index 6443b7e..87b4afc 100644
--- a/server/src/test/java/org/apache/accumulo/server/tabletserver/TabletServerSyncCheckTest.java
+++ b/server/src/test/java/org/apache/accumulo/server/tabletserver/TabletServerSyncCheckTest.java
@@ -55,40 +55,6 @@ public class TabletServerSyncCheckTest {
TabletServer.ensureHdfsSyncIsEnabled(fs);
}
- @Test(expected = RuntimeException.class)
- public void testDefaultHadoopAction() {
- // We currently depend on Hadoop-1.0.4 in this branch
- // so this test should throw an exception by default
- Configuration conf = new Configuration();
-
- FileSystem fs = new TestFileSystem(conf);
-
- TabletServer.ensureHdfsSyncIsEnabled(fs);
- }
-
- @Test(expected = RuntimeException.class)
- public void testMissingNecessaryConfiguration() {
- // We currently depend on Hadoop-1.0.4 in this branch
- // so this test should throw an exception by default
- Configuration conf = new Configuration();
-
- FileSystem fs = new TestFileSystem(conf);
-
- TabletServer.ensureHdfsSyncIsEnabled(fs);
- }
-
- @Test
- public void testNecessaryConfiguration() {
- // We currently depend on Hadoop-1.0.4 in this branch
- // By providing the override, we should not throw an exception
- Configuration conf = new Configuration();
- conf.set(DFS_SUPPORT_APPEND, "true");
-
- FileSystem fs = new TestFileSystem(conf);
-
- TabletServer.ensureHdfsSyncIsEnabled(fs);
- }
-
private class TestFileSystem extends DistributedFileSystem {
protected final Configuration conf;