Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b47251c

Browse files
committed
improve run_sharlord.py
1 parent 8ab92c3 commit b47251c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

run_sharlord.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python
22

3+
from time import sleep
4+
35
from testgres import PostgresNode
46
from testgres import get_new_node
57

@@ -109,6 +111,9 @@ def add_node(self, name):
109111
print("\t\t-> port %i" % node.port)
110112
print("\t\t-> dir %s" % node.base_dir)
111113

114+
print()
115+
print("Press Ctrl+C to exit")
116+
112117
# loop until SIGINT
113118
while True:
114-
pass
119+
sleep(1)

0 commit comments

Comments
 (0)