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
pull/1862/head
Yang Gao 10 years ago
commit 5d8f91906b
  1. 5
      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());

Loading…
Cancel
Save