You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/02/10 17:09:23 UTC

[hbase] branch branch-2 updated: HBASE-23816 [Flakey Test] TestExportSnapshotNoCluster.testSnapshotV2WithRefsExportFileSystemState(TestExportSnapshotNoCluster.java:91) Wrong FS!

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new f0fee2f  HBASE-23816 [Flakey Test] TestExportSnapshotNoCluster.testSnapshotV2WithRefsExportFileSystemState(TestExportSnapshotNoCluster.java:91) Wrong FS!
f0fee2f is described below

commit f0fee2fb275787a187a30107f567cc97b8752b65
Author: stack <st...@apache.org>
AuthorDate: Sat Feb 8 11:09:44 2020 -0800

    HBASE-23816 [Flakey Test] TestExportSnapshotNoCluster.testSnapshotV2WithRefsExportFileSystemState(TestExportSnapshotNoCluster.java:91) Wrong FS!
---
 .../apache/hadoop/hbase/snapshot/TestExportSnapshotNoCluster.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotNoCluster.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotNoCluster.java
index f295e90..c2ca91f 100644
--- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotNoCluster.java
+++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotNoCluster.java
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -51,7 +51,7 @@ public class TestExportSnapshotNoCluster {
 
   private static final Logger LOG = LoggerFactory.getLogger(TestExportSnapshotNoCluster.class);
 
-  private final HBaseCommonTestingUtility testUtil = new HBaseCommonTestingUtility();
+  private HBaseCommonTestingUtility testUtil;
   private FileSystem fs;
   private Path testDir;
 
@@ -67,6 +67,7 @@ public class TestExportSnapshotNoCluster {
 
   @Before
   public void setUpBefore() throws Exception {
+    this.testUtil = new HBaseCommonTestingUtility();
     // Make sure testDir is on LocalFileSystem
     testDir = testUtil.getDataTestDir().makeQualified(URI.create("file:///"), new Path("/"));
     fs = testDir.getFileSystem(testUtil.getConfiguration());