@@ -55,24 +55,13 @@ def _configure_trafficserver(self):
5555 'proxy.config.hostdb.host_file.path' : os .path .join (Test .TestDirectory , "hosts_file" ),
5656 })
5757
58- # Even when the origin server is down, SM will return a hit-fresh domain from HostDB.
59- # After request has failed, SM should mark the IP as down
6058 def _test_host_mark_down (self ):
6159 tr = Test .AddTestRun ()
6260
6361 tr .Processes .Default .StartBefore (self ._server )
6462 tr .Processes .Default .StartBefore (self ._ts )
6563
66- tr .AddVerifierClientProcess (
67- "client-1" , DownCachedOriginServerTest .replay_file , http_ports = [self ._ts .Variables .port ], other_args = '--keys 1' )
68-
69- # After host has been marked down from previous test, HostDB should not return
70- # the host as available and DNS lookup should fail.
71- def _test_host_unreachable (self ):
72- tr = Test .AddTestRun ()
73-
74- tr .AddVerifierClientProcess (
75- "client-2" , DownCachedOriginServerTest .replay_file , http_ports = [self ._ts .Variables .port ], other_args = '--keys 2' )
64+ tr .AddVerifierClientProcess ("client-1" , DownCachedOriginServerTest .replay_file , http_ports = [self ._ts .Variables .port ])
7665
7766 # Verify error log marking host down exists
7867 def _test_error_log (self ):
@@ -86,7 +75,6 @@ def _test_error_log(self):
8675
8776 def run (self ):
8877 self ._test_host_mark_down ()
89- self ._test_host_unreachable ()
9078 self ._test_error_log ()
9179
9280
0 commit comments