Skip to content

Make the test less flaky #1245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2018
Merged

Make the test less flaky #1245

merged 1 commit into from
Oct 30, 2018

Conversation

nnegrey
Copy link
Contributor

@nnegrey nnegrey commented Oct 30, 2018

@nnegrey nnegrey requested a review from dzlier-gcp October 30, 2018 17:56
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 30, 2018
}
// To make the test less flaky, check that half of the texts got a result.
assertThat(answersFound).isGreaterThan(TEXTS.size() / 2);

Choose a reason for hiding this comment

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

Smart 👌

@nnegrey nnegrey merged commit 9e660a1 into master Oct 30, 2018
@nnegrey nnegrey deleted the dialogflow-test branch October 30, 2018 18:21
Shabirmean pushed a commit that referenced this pull request Nov 14, 2022
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants