Update TestWavefrontMetrics.java

This commit is contained in:
Howard Yoo 2019-08-27 08:40:06 -07:00 committed by GitHub
parent 9bd4474cea
commit 5740bb6345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public class TestWavefrontMetrics {
return mockWavefront;
}
@SuppressWarnings( "deprecation" )
@Test
public void testPutMetrics() {
WavefrontSink sink = new WavefrontSink();
@ -101,6 +102,7 @@ public class TestWavefrontMetrics {
/**
* Assert that timestamps are converted correctly.
*/
@SuppressWarnings( "deprecation" )
@Test
public void testPutMetrics2() {
@ -139,6 +141,7 @@ public class TestWavefrontMetrics {
}
}
@SuppressWarnings( "deprecation" )
@Test
public void testFailureAndPutMetrics() throws IOException {
WavefrontSink sink = new WavefrontSink();
@ -185,6 +188,7 @@ public class TestWavefrontMetrics {
"Hostname=\"host\"\n"));
}
@SuppressWarnings( "deprecation" )
@Test
public void testClose() {
WavefrontSink sink = new WavefrontSink();