Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions monitoring/v3/src/test/java/ListResourcesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public void testListMonitoredResourceDescriptors() throws Exception {
this.underTest.listMonitoredResourceDescriptors();
String result = new String(os.toByteArray());
assertThat(result)
.named("output text stream")
.contains("An application running in Google App Engine");
}

Expand All @@ -80,8 +79,7 @@ public void testListMetrics() throws Exception {
this.underTest.listMetricDescriptors();
String result = new String(os.toByteArray());
assertThat(result)
.named("output text stream")
.contains("Delta CPU usage time. Units are second");
.contains("agent.googleapis.com/cpu/usage_time");
}

/**
Expand All @@ -93,7 +91,6 @@ public void testListTimeseries() throws Exception {
this.underTest.listTimeseries();
String result = new String(os.toByteArray());
assertThat(result)
.named("output text stream")
.contains("listTimeseries response");
}
}