Skip to content

Commit 5ec6085

Browse files
committed
Revert "more debug code"
This reverts commit e1e8406. Signed-off-by: Matan Breizman <[email protected]>
1 parent 4180ff9 commit 5ec6085

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/objectstore/test_deferred.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,18 +311,13 @@ boost::intrusive_ptr<CephContext> setup_env() {
311311
return cct;
312312
}
313313

314-
void say_good_bye() {
315-
std::cout << "good bye" << std::endl;
316-
}
317-
318314
int main(int _argc, char **_argv) {
319315
argc = _argc;
320316
argv = _argv;
321317

322318
pid_t first_test = fork();
323319
if (first_test == 0) {
324320
std::cout << "1. Testing deletion of deferred (L) entries." << std::endl;
325-
atexit(&say_good_bye);
326321
pid_t child = fork();
327322
if (child == 0) {
328323
auto cct = setup_env();
@@ -348,7 +343,6 @@ int main(int _argc, char **_argv) {
348343
waitpid(first_test, &first_stat, 0);
349344
ceph_assert(WIFEXITED(first_stat) && WEXITSTATUS(first_stat) == 0);
350345
std::cout << "2. Testing overwrite of space allocated by BlueFS" << std::endl;
351-
atexit(&say_good_bye);
352346
pid_t child = fork();
353347
if (child == 0) {
354348
auto cct = setup_env();

0 commit comments

Comments
 (0)