accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/2] git commit: ACCUMULO-1637 Removing some bad tests that aren't portable across hadoop versions.
Date Fri, 18 Oct 2013 16:02:30 GMT
Updated Branches:
  refs/heads/master e498ebb80 -> 4ccf2421b


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/master
Commit: 957676e681c46044e9b46f172b8ab96bfdc6715a
Parents: 0987628
Author: Josh Elser <elserj@apache.org>
Authored: Fri Oct 18 11:53:56 2013 -0400
Committer: Josh Elser <elserj@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;
     


Mime
View raw message