File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
monitoring/v3/src/test/java Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ public void testListMonitoredResourceDescriptors() throws Exception {
6767 this .underTest .listMonitoredResourceDescriptors ();
6868 String result = new String (os .toByteArray ());
6969 assertThat (result )
70- .named ("output text stream" )
7170 .contains ("An application running in Google App Engine" );
7271 }
7372
@@ -80,8 +79,7 @@ public void testListMetrics() throws Exception {
8079 this .underTest .listMetricDescriptors ();
8180 String result = new String (os .toByteArray ());
8281 assertThat (result )
83- .named ("output text stream" )
84- .contains ("Delta CPU usage time. Units are second" );
82+ .contains ("agent.googleapis.com/cpu/usage_time" );
8583 }
8684
8785 /**
@@ -93,7 +91,6 @@ public void testListTimeseries() throws Exception {
9391 this .underTest .listTimeseries ();
9492 String result = new String (os .toByteArray ());
9593 assertThat (result )
96- .named ("output text stream" )
9794 .contains ("listTimeseries response" );
9895 }
9996}
You can’t perform that action at this time.
0 commit comments