HDFS-7001. Tests in TestTracing should not depend on the order of execution. (iwasakims via cmccabe)
This commit is contained in:
parent
43efdd30b5
commit
7b8df93ce1
|
@ -792,6 +792,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HDFS-7106. Reconfiguring DataNode volumes does not release the lock files
|
HDFS-7106. Reconfiguring DataNode volumes does not release the lock files
|
||||||
in removed volumes. (cnauroth via cmccabe)
|
in removed volumes. (cnauroth via cmccabe)
|
||||||
|
|
||||||
|
HDFS-7001. Tests in TestTracing depends on the order of execution
|
||||||
|
(iwasakims via cmccabe)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
||||||
|
|
|
@ -53,13 +53,15 @@ public class TestTracing {
|
||||||
private static Configuration conf;
|
private static Configuration conf;
|
||||||
private static MiniDFSCluster cluster;
|
private static MiniDFSCluster cluster;
|
||||||
private static DistributedFileSystem dfs;
|
private static DistributedFileSystem dfs;
|
||||||
|
private static SpanReceiverHost spanReceiverHost;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSpanReceiverHost() throws Exception {
|
public void testGetSpanReceiverHost() throws Exception {
|
||||||
Configuration conf = new Configuration();
|
Configuration c = new Configuration();
|
||||||
conf.set(SpanReceiverHost.SPAN_RECEIVERS_CONF_KEY,
|
// getting instance already loaded.
|
||||||
SetSpanReceiver.class.getName());
|
c.set(SpanReceiverHost.SPAN_RECEIVERS_CONF_KEY, "");
|
||||||
SpanReceiverHost spanReceiverHost = SpanReceiverHost.getInstance(conf);
|
SpanReceiverHost s = SpanReceiverHost.getInstance(c);
|
||||||
|
Assert.assertEquals(spanReceiverHost, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -228,8 +230,10 @@ public class TestTracing {
|
||||||
cluster = new MiniDFSCluster.Builder(conf)
|
cluster = new MiniDFSCluster.Builder(conf)
|
||||||
.numDataNodes(3)
|
.numDataNodes(3)
|
||||||
.build();
|
.build();
|
||||||
|
cluster.waitActive();
|
||||||
|
|
||||||
dfs = cluster.getFileSystem();
|
dfs = cluster.getFileSystem();
|
||||||
|
spanReceiverHost = SpanReceiverHost.getInstance(conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
|
|
Loading…
Reference in New Issue