Skip to content

Add system tests for logging w/ insert_id/severty/http_request metdata. - #1682

Merged
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_tests-log_w_metadata
Mar 30, 2016
Merged

Add system tests for logging w/ insert_id/severty/http_request metdata.#1682
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-system_tests-log_w_metadata

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

No description provided.

@tseavertseaver added testing api: logging Issues related to the Cloud Logging API. labels Mar 30, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 30, 2016
self.to_delete.append(logger)
logger.log_text(TEXT_PAYLOAD, insert_id=INSERT_ID, severity=SEVERITY,
http_request=REQUEST)
time.sleep(2)

This comment was marked as spam.

This comment was marked as spam.

@dhermes

Copy link
Copy Markdown
Contributor

LGTM

@tseaver
tseaver merged commit 451fec9 into googleapis:logging-apiMar 30, 2016
@tseaver
tseaver deleted the logging-system_tests-log_w_metadata branch March 30, 2016 19:50
@dhermesdhermes mentioned this pull request Apr 1, 2016
parthea added a commit that referenced this pull request Nov 24, 2025
parthea pushed a commit that referenced this pull request Mar 6, 2026
* fix: AccessEntry API representation parsing
Overriding the `AccessEntry#_properties` with a deep copy of the API resource overwrites the `role` property set in `AccessEntry.__init__` which isn't present in the resource if the `role` is set to `None`. This causes `AccessEntry`s generated from API representations to no longer evaluate to equal with equivalent `AccessEntry` resources instantiated through `AccessEntry.__init__`. The added unit test fails without the change and passes with the change.
* build: formatting
---------
Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
parthea pushed a commit that referenced this pull request Apr 1, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: loggingIssues related to the Cloud Logging API.cla: yesThis human has signed the Contributor License Agreement.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tseaver@dhermes@googlebot