@@ -608,6 +608,7 @@ def test_decode(self):
608608ADDR = PORT = URL = None
609609# Begin: GraalPy change
610610SERVER_TIMEOUT = support .LOOPBACK_TIMEOUT
611+ SERVER_SHUTDOWN_TIMEOUT = support .LOOPBACK_TIMEOUT * 2
611612SSL_PROBE_TIMEOUT = 1.0
612613# End: GraalPy Change
613614
@@ -817,15 +818,15 @@ def setUp(self):
817818
818819 # Begin: GraalPy change
819820 def _join_server_thread (self ):
820- self .thread .join (SERVER_TIMEOUT )
821+ self .thread .join (SERVER_SHUTDOWN_TIMEOUT )
821822 self .assertFalse (self .thread .is_alive (), "XML-RPC server thread did not stop" )
822823 # End: GraalPy Change
823824
824825 def tearDown (self ):
825826 # wait on the server thread to terminate
826827 # Begin: GraalPy change
827828 # self.evt.wait()
828- self .assertTrue (self .evt .wait (SERVER_TIMEOUT ), "XML-RPC server did not stop" )
829+ self .assertTrue (self .evt .wait (SERVER_SHUTDOWN_TIMEOUT ), "XML-RPC server did not stop" )
829830 # End: GraalPy Change
830831
831832 # disable traceback reporting
@@ -1389,15 +1390,15 @@ def setUp(self):
13891390
13901391 # Begin: GraalPy change
13911392 def _join_server_thread (self ):
1392- self .thread .join (SERVER_TIMEOUT )
1393+ self .thread .join (SERVER_SHUTDOWN_TIMEOUT )
13931394 self .assertFalse (self .thread .is_alive (), "XML-RPC server thread did not stop" )
13941395 # End: GraalPy Change
13951396
13961397 def tearDown (self ):
13971398 # wait on the server thread to terminate
13981399 # Begin: GraalPy change
13991400 # self.evt.wait()
1400- self .assertTrue (self .evt .wait (SERVER_TIMEOUT ), "XML-RPC server did not stop" )
1401+ self .assertTrue (self .evt .wait (SERVER_SHUTDOWN_TIMEOUT ), "XML-RPC server did not stop" )
14011402 # End: GraalPy Change
14021403 # reset flag
14031404 xmlrpc .server .SimpleXMLRPCServer ._send_traceback_header = False
0 commit comments