Skip to content

Commit 8ef5138

Browse files
committed
Fix dataflow tests by creating spanner instance. Fix vision tests by updating match tag from 'Landmark' to 'History.'
1 parent 26b3930 commit 8ef5138

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dataflow/spanner-io/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<artifactId>maven-failsafe-plugin</artifactId>
5454
<version>2.19.1</version>
5555
<configuration>
56+
<reportNameSuffix>sponge_log.xml</reportNameSuffix>
5657
<systemPropertyVariables>
5758
<spanner.test.instance>default-instance</spanner.test.instance>
5859
</systemPropertyVariables>

vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public void detectWebAnnotations() throws Exception {
244244

245245
// Assert
246246
String got = bout.toString();
247-
assertThat(got).contains("Landmark");
247+
assertThat(got).contains("History");
248248
assertThat(got).contains("Best guess label: palace of fine arts");
249249
}
250250

@@ -256,7 +256,7 @@ public void detectWebAnnotationsGcs() throws Exception {
256256

257257
// Assert
258258
String got = bout.toString();
259-
assertThat(got).contains("Landmark");
259+
assertThat(got).contains("History");
260260
assertThat(got).contains("Best guess label: palace of fine arts");
261261
}
262262

0 commit comments

Comments
 (0)