@@ -50,22 +50,22 @@ def test_retry_sync_substrate(single_local_chain):
50
50
time .sleep (2 )
51
51
52
52
53
- def test_retry_sync_substrate_max_retries (docker_containers ):
54
- time .sleep (10 )
55
- with RetrySyncSubstrate (
56
- docker_containers [0 ].uri , fallback_chains = [docker_containers [1 ].uri ]
57
- ) as substrate :
58
- for i in range (5 ):
59
- assert substrate .get_chain_head ().startswith ("0x" )
60
- if i == 2 :
61
- subprocess .run (["docker" , "pause" , docker_containers [0 ].name ])
62
- if i == 3 :
63
- assert substrate .chain_endpoint == docker_containers [1 ].uri
64
- if i == 4 :
65
- subprocess .run (["docker" , "pause" , docker_containers [1 ].name ])
66
- with pytest .raises (MaxRetriesExceeded ):
67
- substrate .get_chain_head ().startswith ("0x" )
68
- time .sleep (2 )
53
+ # def test_retry_sync_substrate_max_retries(docker_containers):
54
+ # time.sleep(10)
55
+ # with RetrySyncSubstrate(
56
+ # docker_containers[0].uri, fallback_chains=[docker_containers[1].uri]
57
+ # ) as substrate:
58
+ # for i in range(5):
59
+ # assert substrate.get_chain_head().startswith("0x")
60
+ # if i == 2:
61
+ # subprocess.run(["docker", "pause", docker_containers[0].name])
62
+ # if i == 3:
63
+ # assert substrate.chain_endpoint == docker_containers[1].uri
64
+ # if i == 4:
65
+ # subprocess.run(["docker", "pause", docker_containers[1].name])
66
+ # with pytest.raises(MaxRetriesExceeded):
67
+ # substrate.get_chain_head().startswith("0x")
68
+ # time.sleep(2)
69
69
70
70
71
71
def test_retry_sync_substrate_offline ():
0 commit comments