- Notifications
You must be signed in to change notification settings - Fork36
Closed
Labels
Description
Constructor of NodeApp obtains os_ops but does not pass it to a new node. See this code:
Lines 2335 to 2346 in44d61c2
| self.os_ops=os_ops | |
| defmake_empty( | |
| self, | |
| base_dir=None, | |
| port=None, | |
| bin_dir=None): | |
| real_base_dir=os.path.join(self.test_path,base_dir) | |
| self.os_ops.rmdirs(real_base_dir,ignore_errors=True) | |
| self.os_ops.makedirs(real_base_dir) | |
| node=PostgresNode(base_dir=real_base_dir,port=port,bin_dir=bin_dir) |
Also, the constructor of NodeApp can get port_manager object and pass it to the new nodes in make_empty, too.