We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61e05a commit ff73600Copy full SHA for ff73600
testgres/testgres.py
@@ -424,6 +424,15 @@ def start(self, params={}):
424
else:
425
print("Log file not found: %s", log_filename)
426
427
+ conf_filename = os.path.join(self.data_dir, 'postgresql.conf')
428
+ if os.path.exists(conf_filename):
429
+ print("\npostgresql.conf:\n----")
430
+ with open(conf_filename, 'r') as conffile:
431
+ text = conffile.readlines()[-1]
432
+ print(text)
433
+ else:
434
+ print("Configuration file not found: %s", conf_filename)
435
+
436
raise ClusterException("Couldn't start the new node")
437
438
self.working = True
0 commit comments