Skip to content

test: generate uuid on startup for load tool (backport #9383)#9393

Merged
thanethomson merged 1 commit intov0.34.xfrom
mergify/bp/v0.34.x/pr-9383
Sep 8, 2022
Merged

test: generate uuid on startup for load tool (backport #9383)#9393
thanethomson merged 1 commit intov0.34.xfrom
mergify/bp/v0.34.x/pr-9383

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 8, 2022

This is an automatic backport of pull request #9383 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

the `NewClient` method is called by the load test framework for each connection. This means that if multiple connections are instantiated, each connection will erroneously have its own UUID. This PR changes the UUID generation to happen at the _beginning_ of the script instead of on client creation so that each experimental run shares a UUID.

Caught while preparing the script for production readiness.

#### PR checklist

- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
      documentation updates needed

(cherry picked from commit 59a711e)
@mergify mergify bot requested a review from ebuchman as a code owner September 8, 2022 01:00
@mergify mergify bot requested a review from a team September 8, 2022 01:00
@thanethomson thanethomson merged commit 1135889 into v0.34.x Sep 8, 2022
@thanethomson thanethomson deleted the mergify/bp/v0.34.x/pr-9383 branch September 8, 2022 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants