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