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

Cast transaction name to str #1389

Merged
merged 4 commits into from Nov 10, 2021
Merged

Conversation

basepi
Copy link
Contributor

@basepi basepi commented Nov 9, 2021

I decided not to do any error handling around casting to str() as suggested in #1167 -- while theoretically it can throw errors, the user would have to be doing something exceptionally odd to make that happen and I don't think it's worth muddying the code. We cast to str() regularly without error handling.

Related issues

Closes #1167

@apmmachine
Copy link
Collaborator

apmmachine commented Nov 9, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-10T15:53:23.036+0000

  • Duration: 32 min 26 sec

  • Commit: a91df2e

Test stats 🧪

Test Results
Failed 0
Passed 10227
Skipped 8977
Total 19204

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

Copy link
Contributor

@beniwohli beniwohli left a comment

Choose a reason for hiding this comment

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

just a small nit, otherwise LGTM

tests/instrumentation/transactions_store_tests.py Outdated Show resolved Hide resolved
@basepi basepi merged commit c161fd2 into elastic:master Nov 10, 2021
APM-Agents (OLD) automation moved this from In Progress to Done Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Force transaction name in set_transaction_name to string
3 participants