forked from open-telemetry/opentelemetry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix class BoundedAttributes to have RLock rather than Lock (open-tele…
…metry#3859) * Fix class BoundedAttributes to have RLock rather than Lock Co-authored-by: Christoph Heer <[email protected]> * Add a testcase for a commit titled "Fix class BoundedAttributes to have RLock rather than Lock" * Move comments of tests/attributes/test_attributes.py::TestBoundedAttribute.test_locking to its docstring * Add issue reference at the end of the docstring's first line * Add changelog * Modify the testcase to set a fixed value under BoundedAttributes' lock and assert accordingly This testcase passes only if BoundedAttributes use RLock, not Lock --------- Co-authored-by: Christoph Heer <[email protected]> Co-authored-by: Diego Hurtado <[email protected]>
- Loading branch information
1 parent
a156bf1
commit 8b80a28
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters