diff --git a/web/app/assets/javascripts/networkTestHelper.js b/web/app/assets/javascripts/networkTestHelper.js index 2e1c82e95..64de82b54 100644 --- a/web/app/assets/javascripts/networkTestHelper.js +++ b/web/app/assets/javascripts/networkTestHelper.js @@ -412,12 +412,11 @@ var attempt = getCurrentAttemptVideo(); if (!testSummary.video_final) { - testSummary.video_final = {reason: attempt.reason}; + testSummary.video_final = {reason: attempt.reason, num_clients: attempt.num_clients}; } - // a score of '2' is a failure when we take error paths in this function. Because we alway decrement the num_clients by 1 (and < 2 is considered failure). Also , we start the testing at 2. so it's probably correct anyway if (!testSummary.video_final.num_clients) { - testSummary.video_final.num_clients = 2; + testSummary.video_final.num_clients = attempt.num_clients; } var reason = testSummary.video_final.reason;