Repository navigation
feat(trace): Support universe domain - #36739
Conversation
| @universe_domain = universe_domain | ||
| end | ||
|
|
||
| def universe_domain |
There was a problem hiding this comment.
On this one, did you take account the last two commits we did for logging?
There was a problem hiding this comment.
Yes, both commits are included here. resolved_universe_domain (lines 148-152) expands to the same 6-step lookup as Logging::Service#universe_domain (shared with #lowlevel_client for load-order safety), and service_test.rb includes both the V1::TraceService::Client.configure and memoization tests.
|
|
||
| describe Google::Cloud::Trace::Project, :mock_trace do | ||
| before do | ||
| Google::Cloud.configure.reset! |
There was a problem hiding this comment.
Can these cause flakes, is this some sort of shared configuration that other tests might be using?
There was a problem hiding this comment.
Google::Cloud.configure is a shared singleton, and reset! restores test overrides back to initial defaults without removing registered fields. It won't flake here since Minitest runs single-threaded (no parallelize_me!) and all AsyncReporter tests join background threads via stop! before returning, matching logging/project_test.rb.
Fixes b/589800361.