]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Revert "more debug code"
authorMatan Breizman <mbreizma@redhat.com>
Tue, 11 Mar 2025 09:12:59 +0000 (09:12 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 11 Mar 2025 09:12:59 +0000 (09:12 +0000)
This reverts commit e1e840628d3842e6664d2f1305a821abf6b631d2.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/test/objectstore/test_deferred.cc

index 45d15ab37fbcb7d0deda8e6893c4b1398ac7a770..9e474df181c937c450fb815b9c738b24c0f7882c 100644 (file)
@@ -311,10 +311,6 @@ boost::intrusive_ptr<CephContext> setup_env() {
   return cct;
 }
 
-void say_good_bye() {
-  std::cout << "good bye" << std::endl;
-}
-
 int main(int _argc, char **_argv) {
   argc = _argc;
   argv = _argv;
@@ -322,7 +318,6 @@ int main(int _argc, char **_argv) {
   pid_t first_test = fork();
   if (first_test == 0) {
     std::cout << "1. Testing deletion of deferred (L) entries." << std::endl;
-    atexit(&say_good_bye);
     pid_t child = fork();
     if (child == 0) {
       auto cct = setup_env();
@@ -348,7 +343,6 @@ int main(int _argc, char **_argv) {
     waitpid(first_test, &first_stat, 0);
     ceph_assert(WIFEXITED(first_stat) && WEXITSTATUS(first_stat) == 0);
     std::cout << "2. Testing overwrite of space allocated by BlueFS" << std::endl;
-    atexit(&say_good_bye);
     pid_t child = fork();
     if (child == 0) {
       auto cct = setup_env();