diff options
author | Yang Gao <yangg@google.com> | 2015-06-01 15:36:00 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-06-01 15:36:00 -0700 |
commit | 5d8f91906ba534ad23db5c0d45c52150c2d50816 (patch) | |
tree | cb8414318ae99cb9cc86ade4bf5bbab4aba129bd /test | |
parent | faafb38d14d33c608d6a9f311950b72e1f087e05 (diff) | |
parent | 9300c4b9c02bd2de81a7fc4fc1af42f820f2eb86 (diff) |
Merge pull request #1828 from ctiller/i-wish-the-number-that-used-to-be-displayed-represented-my-bank-balance
Fix the display of total slowdown
Diffstat (limited to 'test')
-rw-r--r-- | test/core/util/test_config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/util/test_config.c b/test/core/util/test_config.c index be69fcf675..20ab67ec15 100644 --- a/test/core/util/test_config.c +++ b/test/core/util/test_config.c @@ -50,8 +50,9 @@ static int seed(void) { return _getpid(); } void grpc_test_init(int argc, char **argv) { gpr_log(GPR_DEBUG, "test slowdown: machine=%f build=%f total=%f", - GRPC_TEST_SLOWDOWN_MACHINE_FACTOR, GRPC_TEST_SLOWDOWN_BUILD_FACTOR, - GRPC_TEST_SLOWDOWN_FACTOR); + (double)GRPC_TEST_SLOWDOWN_MACHINE_FACTOR, + (double)GRPC_TEST_SLOWDOWN_BUILD_FACTOR, + (double)GRPC_TEST_SLOWDOWN_FACTOR); /* seed rng with pid, so we don't end up with the same random numbers as a concurrently running test binary */ srand(seed()); |