diff --git a/cpp/src/arrow/flight/test_util.cc b/cpp/src/arrow/flight/test_util.cc index bd2fd5dc81159..aa10d9a7da822 100644 --- a/cpp/src/arrow/flight/test_util.cc +++ b/cpp/src/arrow/flight/test_util.cc @@ -55,7 +55,7 @@ Status TestServer::Start(const std::vector& extra_args) { args.insert(args.end(), extra_args.begin(), extra_args.end()); server_process_->SetArgs(args); ARROW_RETURN_NOT_OK(server_process_->Execute()); - std::cout << "Server running with pid " << server_process_->id() << std::endl; + std::cout << "Server running with pid " << server_process_->pid() << std::endl; return Status::OK(); } diff --git a/cpp/src/arrow/testing/process.cc b/cpp/src/arrow/testing/process.cc index 4e555c2b14b0e..bd2c5d6472e48 100644 --- a/cpp/src/arrow/testing/process.cc +++ b/cpp/src/arrow/testing/process.cc @@ -268,7 +268,7 @@ class Process::Impl { #endif } - uint64_t id() { + uint64_t pid() { if (!process_) { return 0; } @@ -296,5 +296,5 @@ Status Process::Execute() { return impl_->Execute(); } bool Process::IsRunning() { return impl_->IsRunning(); } -uint64_t Process::id() { return impl_->id(); } +uint64_t Process::pid() { return impl_->pid(); } } // namespace arrow::util diff --git a/cpp/src/arrow/testing/process.h b/cpp/src/arrow/testing/process.h index 9e711baf7ad9a..d4d2ae124f427 100644 --- a/cpp/src/arrow/testing/process.h +++ b/cpp/src/arrow/testing/process.h @@ -37,7 +37,7 @@ class ARROW_TESTING_EXPORT Process { void IgnoreStderr(); Status Execute(); bool IsRunning(); - uint64_t id(); + uint64_t pid(); private: class Impl;