Skip to content

Commit 72efc35

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 72efc35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dataflow/spanner-io/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<java.version>1.8</java.version>
3939
<maven.compiler.source>1.8</maven.compiler.source>
4040
<maven.compiler.target>1.8</maven.compiler.target>
41-
<apache_beam.version>2.4.0</apache_beam.version>
41+
<apache_beam.version>2.3.0</apache_beam.version>
4242
</properties>
4343

4444
<build>

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)