-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite of testdata communication, and other improvements (#357)
* custom messages should run concurrent * testdata* communication rewrite, et al simplified `GrizzlyContext` by removing singleton logic from instance creation, and instead creates a global instance which should be imported where needed. rewrite of `Testdata*` communication, to use locust custom messages instead of their own ZMQ socket and connection. * better handling for detecting when spawning is complete replace bool with a Semaphore, which is acquired on locust init, and released on "spawning complete" event. master/local uses the semaphore before starting the check that there are users running. workers/local uses the semaphore to not stop any users before all users has been spawned. this is to prevent locust to spawn additional users that has stopped before complete spawning has finished. stopping a users after all users has spawned will not result in additional users spawning after being stopped. * removed unnecessary logger, use the users logger instead, which also gives better traceability. * timeout after waiting for a TestdataProducer response for 10 seconds * cleanup of AsyncServiceBusHandler logging
- Loading branch information
Showing
31 changed files
with
1,062 additions
and
1,400 deletions.
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
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
Oops, something went wrong.