##// END OF EJS Templates
catch KeyboardInterrupt in parallel tests teardown...
MinRK -
Show More
@@ -109,7 +109,10 b" def add_engines(n=1, profile='iptest', total=False):"
109 return eps
109 return eps
110
110
111 def teardown():
111 def teardown():
112 time.sleep(1)
112 try:
113 time.sleep(1)
114 except KeyboardInterrupt:
115 return
113 while launchers:
116 while launchers:
114 p = launchers.pop()
117 p = launchers.pop()
115 if p.poll() is None:
118 if p.poll() is None:
@@ -119,7 +122,10 b' def teardown():'
119 print(e)
122 print(e)
120 pass
123 pass
121 if p.poll() is None:
124 if p.poll() is None:
122 time.sleep(.25)
125 try:
126 time.sleep(.25)
127 except KeyboardInterrupt:
128 return
123 if p.poll() is None:
129 if p.poll() is None:
124 try:
130 try:
125 print('cleaning up test process...')
131 print('cleaning up test process...')
General Comments 0
You need to be logged in to leave comments. Login now