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
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ public void detectFacesTest() throws IOException {
for (FaceAnnotation annotation : assertNotEmpty(res, res.getFaceAnnotationsList())) {
assertThat(annotation.getAngerLikelihood()).isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE);
assertEquals(Likelihood.VERY_UNLIKELY, annotation.getJoyLikelihood());
assertEquals(Likelihood.LIKELY, annotation.getSurpriseLikelihood());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know if there were any changes to the services that caused this deviation?
Also, seems L306 has similar problems. Recent log of failure in detectFacesGcsTest().

21:07:24:578 [ERROR] Failures: 
21:07:24:578 [ERROR]   ITSystemTest.detectFacesGcsTest:306 expected: but was:

assertThat(annotation.getSurpriseLikelihood())
.isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE);
}
}

Expand All @@ -303,7 +304,8 @@ public void detectFacesGcsTest() throws IOException {
for (FaceAnnotation annotation : assertNotEmpty(res, res.getFaceAnnotationsList())) {
assertThat(annotation.getAngerLikelihood()).isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE);
assertEquals(Likelihood.VERY_UNLIKELY, annotation.getJoyLikelihood());
assertEquals(Likelihood.LIKELY, annotation.getSurpriseLikelihood());
assertThat(annotation.getSurpriseLikelihood())
.isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE);
}
}

Expand Down