-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Allow None response time for requests #1088
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1088 +/- ##
==========================================
+ Coverage 72.69% 74.08% +1.39%
==========================================
Files 18 18
Lines 1765 1779 +14
Branches 262 263 +1
==========================================
+ Hits 1283 1318 +35
+ Misses 420 399 -21
Partials 62 62
Continue to review full report at Codecov.
|
…s and "only async". Add test for master total stats with none response times.
@@ -159,6 +159,35 @@ class MyTestLocust(Locust): | |||
s = master.stats.get("/", "GET") | |||
self.assertEqual(700, s.median_response_time) | |||
|
|||
def test_slave_stats_report_with_none_response_times(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice with tests that tests the whole cycle with master/slave communication!
It'd be nice to also have much simpler test in test_stats.py that just tests the None response time functionality for StatsEntry
.
Nice! |
fixes #1087