Update TestWavefrontMetrics.java
This commit is contained in:
parent
9bd4474cea
commit
5740bb6345
@ -60,6 +60,7 @@ private WavefrontSink.Wavefront makeWavefront() {
|
||||
return mockWavefront;
|
||||
}
|
||||
|
||||
@SuppressWarnings( "deprecation" )
|
||||
@Test
|
||||
public void testPutMetrics() {
|
||||
WavefrontSink sink = new WavefrontSink();
|
||||
@ -101,6 +102,7 @@ public void testPutMetrics() {
|
||||
/**
|
||||
* Assert that timestamps are converted correctly.
|
||||
*/
|
||||
@SuppressWarnings( "deprecation" )
|
||||
@Test
|
||||
public void testPutMetrics2() {
|
||||
|
||||
@ -139,6 +141,7 @@ public void testPutMetrics2() {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings( "deprecation" )
|
||||
@Test
|
||||
public void testFailureAndPutMetrics() throws IOException {
|
||||
WavefrontSink sink = new WavefrontSink();
|
||||
@ -185,6 +188,7 @@ public void testFailureAndPutMetrics() throws IOException {
|
||||
"Hostname=\"host\"\n"));
|
||||
}
|
||||
|
||||
@SuppressWarnings( "deprecation" )
|
||||
@Test
|
||||
public void testClose() {
|
||||
WavefrontSink sink = new WavefrontSink();
|
||||
|
Loading…
x
Reference in New Issue
Block a user