Skip to content

Commit

Permalink
Merge pull request #362 from GoogleCloudPlatform/tswast-monitoring
Browse files Browse the repository at this point in the history
Fix monitoring tests.
  • Loading branch information
tswast authored Oct 11, 2016
2 parents 1169536 + c1a94b5 commit 1261451
Showing 1 changed file with 1 addition and 4 deletions.
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");
}
}

0 comments on commit 1261451

Please sign in to comment.