spec/integration/fork_reconnect_spec.rb in mongo-2.18.3 vs spec/integration/fork_reconnect_spec.rb in mongo-2.19.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true -# encoding: utf-8 +# rubocop:todo all require 'spec_helper' describe 'fork reconnect' do require_fork @@ -40,10 +40,10 @@ # as socket would've been closed first and file descriptors can be # reused by the kernel. child_socket.object_id.should_not == socket.object_id # Exec so that we do not close any clients etc. in the child. - exec('/bin/true') + exec(Utils::BIN_TRUE) end # Connection should remain serviceable in the parent. # The operation here will be invoked again, since the earlier invocation # was in the child process.