| 362 | signal(sig2.sig, SIG_DFL); |
| 363 | } |
| 364 | void SetUp() override |
| 365 | { |
| 366 | std::string path = get_rand_socket_path(); |
| 367 | asock = std::make_unique<AdminSocket>(g_ceph_context); |
| 368 | asock_client = std::make_unique<AdminSocketClient>(path); |
| 369 | ASSERT_TRUE(asock->init(path)); |
| 370 | sig1.count = 0; |
| 371 | sig2.count = 0; |
| 372 | } |
| 373 | void TearDown() override |
| 374 | { |
| 375 | AdminSocketTest(asock.get()).shutdown(); |
nothing calls this directly
no test coverage detected