Add system-test for GAPIC files for logging API.#1865
Add system-test for GAPIC files for logging API.#1865jmuk wants to merge 2 commits intogoogleapis:masterfrom
Conversation
This is hand-written for now. Eventually, we will replace this by automatically generated ones.
|
Some linting errors: |
|
Fixed lint errors. |
|
@jmuk is it possible these tests are better suited for the gax repo? As I understand this, these tests are certifying that the gax library works. But, we should always be able to assume it works, because there wouldn't have been a gax release unless tests like these passed. Does this make sense? |
|
This is a bit different from gax-nodejs repo because it tests API-agnostic logic, while our code generator tests the generated files, character-by-character. This PR verifies the behaviors of generated files -- i.e. whether it's syntactically correct or not, or whether it can issue API calls correctly or not. However we have another repository Feel free to close this if that sounds good. |
|
Thanks, |
* Print runtime env for integration tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add new kokoro job * Add tests to package.json * Print less --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* samples: add sample for push subscription with no wrapper * samples: update samples/createPushSubscriptionNoWrapper.js Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com> * samples: update samples/createPushSubscriptionNoWrapper.js Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com> * samples: update copyright createPushSubscriptionNoWrapper.js * samples: update copyright createPushSubscriptionNoWrapper.ts * samples: update region tag in ts as well * chore: remove commented code in subscriptions.test.ts * docs: update comments to be clearer * samples: update push subscription samples to take a URL parameter for extra clarity * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * tests: use a real URL for the actual testing --------- Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
This is hand-written for now. Eventually, we will replace this
by automatically generated ones.