You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sy...@apache.org on 2015/12/15 18:43:33 UTC
[19/26] hbase git commit: HBASE-14701 Fix flakey Failed tests:
TestMobFlushSnapshotFromClient>TestFlushSnapshotFromClient.testSkipFlushTableSnapshot:199
null (Jingcheng Du)
HBASE-14701 Fix flakey Failed tests: TestMobFlushSnapshotFromClient>TestFlushSnapshotFromClient.testSkipFlushTableSnapshot:199 null (Jingcheng Du)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f34d3e1d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f34d3e1d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f34d3e1d
Branch: refs/heads/hbase-12439
Commit: f34d3e1d2634566959778b4ecf1fcb5cb20d8721
Parents: 453a66c
Author: stack <st...@apache.org>
Authored: Sat Dec 12 19:34:23 2015 -0800
Committer: stack <st...@apache.org>
Committed: Sat Dec 12 19:34:23 2015 -0800
----------------------------------------------------------------------
.../apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/f34d3e1d/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
index dbf2f0d..1ddcab8 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
@@ -160,7 +160,7 @@ public class TestFlushSnapshotFromClient {
* Test snapshotting a table that is online without flushing
* @throws Exception
*/
- @Ignore ("Flakey test") @Test(timeout=30000)
+ @Test(timeout=30000)
public void testSkipFlushTableSnapshot() throws Exception {
Admin admin = UTIL.getHBaseAdmin();
// make sure we don't fail on listing snapshots
@@ -169,6 +169,7 @@ public class TestFlushSnapshotFromClient {
// put some stuff in the table
Table table = UTIL.getConnection().getTable(TABLE_NAME);
UTIL.loadTable(table, TEST_FAM);
+ UTIL.flush(TABLE_NAME);
LOG.debug("FS state before snapshot:");
UTIL.getHBaseCluster().getMaster().getMasterFileSystem().logFileSystemState(LOG);