Browse Source

mark broken tet as skipped, add TODO

justheuristic 4 years ago
parent
commit
c5795abc02
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/test_averaging.py

+ 3 - 0
tests/test_averaging.py

@@ -324,6 +324,7 @@ def test_overcrowded(num_peers=16):
     dht.shutdown()
 
 
+@pytest.mark.skip
 @pytest.mark.forked
 def test_load_state_from_peers():
     num_calls = 0
@@ -342,6 +343,8 @@ def test_load_state_from_peers():
 
     dht_root = hivemind.DHT(start=True)
     initial_peers = [f'{hivemind.LOCALHOST}:{dht_root.port}']
+    #TODO: this code should switch to p2p endpoints
+
     dht1 = hivemind.DHT(initial_peers=initial_peers, start=True)
     averager1 = TestAverager([torch.randn(3), torch.rand(5)],
                              dht=dht1, start=True,