chore: Fix testCancelOuterFutureBeforeStart flaky test (#1583)

* chore: Fix testCancelOuterFutureBeforeStart flaky test

* chore: Fix assertions

* chore: Allow FailableCallable to have access to ExternalFuture

* chore: Fix format issues

* chore: Use MockCallable for this flaky test

* chore: Update comment

* chore: Update to the latest mockito version

* chore: Address PR comments

* chore: Add externalfuture for FailingCallable

* chore: Add comments to document the externalFuture

* chore: Move tracer verification to the end
3 files changed
tree: 6fb688c0d1252bc830582224d7d3bf462ce17d48
  1. .githooks/
  2. .github/
  3. .kokoro/
  4. api-common-java/
  5. coverage-report/
  6. gapic-generator-java/
  7. gapic-generator-java-bom/
  8. gapic-generator-java-pom-parent/
  9. gax-java/
  10. java-common-protos/
  11. java-core/
  12. java-iam/
  13. java-shared-dependencies/
  14. rules_java_gapic/
  15. scripts/
  16. showcase/
  17. test/
  18. .bazeliskrc
  19. .bazelrc
  20. .gitignore
  21. BUILD.bazel
  22. CHANGELOG.md
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. DEVELOPMENT.md
  26. LICENSE
  27. pom.xml
  28. README.md
  29. renovate.json
  30. run.sh
  31. SECURITY.md
  32. settings.xml
  33. versions.txt
  34. WORKSPACE
README.md

Coverage

This repository consists of the following modules:

  • gapic-generator-java: the Protobuf compiler plugin to generate Java code. See [gapic-generator-java/DEVELOPMENT.md] for setup.
  • gax-java: the runtime library required for Google Cloud client libraries, including the ones generated by gapic-generator-java.
  • java-common-protos and api-common-java: Protobuf-generated common classes for Google services. (They are not generated by gapic-generator-java)
  • java-iam: Protobuf-generated classes for Google's Identity and Access Management (IAM). (They are not generated by gapic-generator-java)
  • showcase: demonstration of the generated client library for the fake “Showcase” API.
  • gapic-generator-java-bom: The Bill-of-Material for the libraries produced from this repository. This is used by google-cloud-java/java-shared-dependencies.

Development Setup

See DEVELOPMENT.md.