Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Fix reading log format #2377

Merged
merged 2 commits into from May 19, 2020
Merged

Fix reading log format #2377

merged 2 commits into from May 19, 2020

Conversation

elefeint
Copy link
Contributor

@elefeint elefeint commented May 19, 2020

The logging format switched from text to json in com.google.cloud.google-cloud-logging-logback:v0.117.0 (googleapis/java-logging-logback#43).

This PR fixes the trace integration test by switching from reading textPayload to jsonPayload for verification of trace correlation to log.

dzou
dzou previously approved these changes May 19, 2020
@sonarcloud
Copy link

sonarcloud bot commented May 19, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented May 19, 2020

Codecov Report

Merging #2377 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2377   +/-   ##
=========================================
  Coverage     73.89%   73.89%           
  Complexity     2096     2096           
=========================================
  Files           260      260           
  Lines          7576     7576           
  Branches        785      785           
=========================================
  Hits           5598     5598           
  Misses         1616     1616           
  Partials        362      362           
Flag Coverage Δ Complexity Δ
#unittests 73.89% <ø> (ø) 2096.00 <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 514fcff...3889112. Read the comment docs.

@meltsufin meltsufin merged commit 36d7c43 into master May 19, 2020
@meltsufin meltsufin deleted the fix-trace-test-logging-format branch May 19, 2020 21:42
elefeint added a commit that referenced this pull request May 19, 2020
Same fix as #2377, but for logging sample test.

The logging format switched from text to json in com.google.cloud.google-cloud-logging-logback:v0.117.0 (googleapis/java-logging-logback#43).

This PR fixes the trace integration test by switching from reading textPayload to jsonPayload for verification of trace correlation to log.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants