diff --git a/lib/tasks/test_api.rake b/lib/tasks/test_api.rake index 5a1d2f8..491dbc2 100644 --- a/lib/tasks/test_api.rake +++ b/lib/tasks/test_api.rake @@ -576,7 +576,7 @@ namespace :test_api do end if v.time_viewed && v.time_viewed/1000 > server_response_time - the_error_msg = "Error! Vote #{v.id} with Appearance #{v.appearance.id}, has a longer client response time than is possible. Vote creation time: #{v.created_at.to_s}, Appearance creation time: #{v.appearance.created_at.to_s}, Client side response time: #{v.time_viewed}\n" + the_error_msg = "Error! Vote #{v.id} with Appearance #{v.appearance.id}, has a longer client response time than is possible. Server roundtrip time is: #{v.created_at.to_f - v.appearance.created_at.to_f} seconds, but client side response time is: #{v.time_viewed.to_f / 1000.0} seconds\n" error_message += the_error_msg print the_error_msg -- libgit2 0.21.2