| 339 | } |
| 340 | |
| 341 | void |
| 342 | hstest_thread::test_6(int test_num) |
| 343 | { |
| 344 | int count = arg.sh.conf.get_int("count", 1); |
| 345 | auto_file fds[count]; |
| 346 | for (int i = 0; i < count; ++i) { |
| 347 | const double t1 = gettimeofday_double(); |
| 348 | std::string err; |
| 349 | if (socket_connect(fds[i], arg.sh.arg, err) != 0) { |
| 350 | fprintf(stderr, "id=%zu i=%d err=%s\n", arg.id, i, err.c_str()); |
| 351 | } |
| 352 | const double t2 = gettimeofday_double(); |
| 353 | if (t2 - t1 > 1) { |
| 354 | fprintf(stderr, "id=%zu i=%d time %f\n", arg.id, i, t2 - t1); |
| 355 | } |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | void |
| 360 | hstest_thread::test_7(int num) |
nothing calls this directly
no test coverage detected