Skip to content
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

Fix DLP inspect tests to fail on timeout #3049

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

sushicw
Copy link
Contributor

@sushicw sushicw commented Jun 4, 2020

Update DLP inspect tests to fail properly, instead of timing out after 15 minutes and passing.
Also remove some broken code that tried to cancel early.

Fixes internal bug b/158026949

  • I have followed Sample Format Guide
  • pom.xml parent set to latest shared-configuration
  • Appropriate changes to README are included in PR
  • API's need to be enabled to test (tell us)
  • Environment Variables need to be set (ask us to set them)
  • Tests pass (mvn -P lint clean verify)
    • (Note- Checkstyle passing is required; Spotbugs, ErrorProne, PMD, etc. ERROR's are advisory only)
  • Please merge this PR for me once it is approved.

@sushicw sushicw requested a review from a team June 4, 2020 00:02
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 4, 2020
@gguuss gguuss added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
Copy link
Contributor

@lesv lesv left a comment

Choose a reason for hiding this comment

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

Please consider comments

}

@Test
public void testInspectDatastoreEntity()
throws InterruptedException, ExecutionException, IOException {
public void testInspectDatastoreEntity() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you reduce the throws here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kurtisvg kurtisvg added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@sushicw sushicw force-pushed the fix-tests_b-158026949 branch from 0f58e94 to 33a6701 Compare June 4, 2020 20:29
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kurtisvg kurtisvg added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@lesv lesv added the automerge Merge the pull request once unit tests and other checks pass. label Jun 4, 2020
@kurtisvg kurtisvg added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed automerge Merge the pull request once unit tests and other checks pass. labels Jun 4, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kurtisvg kurtisvg added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 4, 2020
@kurtisvg kurtisvg merged commit 512c174 into GoogleCloudPlatform:master Jun 4, 2020
Sita04 pushed a commit that referenced this pull request Feb 7, 2023
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.

7 participants