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(logging): update test assertion and core version pins #10087

Merged
merged 3 commits into from
Jan 10, 2020

Conversation

plamut
Copy link
Contributor

@plamut plamut commented Jan 10, 2020

Towards #10088.

PR checklist

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Version bumps are needed, as timeouts were introduced to API core.
@plamut plamut added the api: logging Issues related to the Cloud Logging API. label Jan 10, 2020
@plamut plamut requested a review from busunkim96 as a code owner January 10, 2020 10:47
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 10, 2020
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2020
An empty zone label that was missing is added.
@@ -179,7 +179,8 @@ def test_log_text_with_resource(self):
logger = Config.CLIENT.logger(self._logger_name("log_text_res"))
now = datetime.datetime.utcnow()
resource = Resource(
type="gae_app", labels={"module_id": "default", "version_id": "test"}
type="gae_app",
labels={"module_id": "default", "version_id": "test", "zone": ""},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is something that was already failing on master, does not seem to be caused by version bumps in this PR.
(I did not research when exactly the failure was introduced, though)

Copy link
Contributor

Choose a reason for hiding this comment

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

I remember seeing something about this. It sounds like it changed fairly recently in the backend.

@@ -179,7 +179,8 @@ def test_log_text_with_resource(self):
logger = Config.CLIENT.logger(self._logger_name("log_text_res"))
now = datetime.datetime.utcnow()
resource = Resource(
type="gae_app", labels={"module_id": "default", "version_id": "test"}
type="gae_app",
labels={"module_id": "default", "version_id": "test", "zone": ""},
Copy link
Contributor

Choose a reason for hiding this comment

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

I remember seeing something about this. It sounds like it changed fairly recently in the backend.

@plamut plamut merged commit 70fe9b4 into googleapis:master Jan 10, 2020
@plamut plamut deleted the fix-logging-tests branch January 10, 2020 21:47
This was referenced Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the Cloud Logging API. 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