Parcourir la source

remove debugprints (no longer flappy!)

justheuristic il y a 3 ans
Parent
commit
29fc70981c
2 fichiers modifiés avec 2 ajouts et 7 suppressions
  1. 1 3
      .github/workflows/run-tests.yaml
  2. 1 4
      tests/test_block_exact_match.py

+ 1 - 3
.github/workflows/run-tests.yaml

@@ -38,11 +38,10 @@ jobs:
 
   run-tests:
     runs-on: ubuntu-latest
-#    needs: convert-model
+    needs: convert-model
     strategy:
       matrix:
         python-version: [ 3.7, 3.8, 3.9 ]
-        attempt: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 ]
       fail-fast: false
     timeout-minutes: 15
     steps:
@@ -71,7 +70,6 @@ jobs:
           # ^-- server 1 multiaddr is determined by --identity and --host_maddrs
           
           sleep 30  # wait for server to download layers
-          ps aux
           
           # test individual blocks
           export PYTHONPATH=. REF_NAME=bloom-testing/test-bloomd-350m

+ 1 - 4
tests/test_block_exact_match.py

@@ -24,10 +24,7 @@ REF_INDEX = int(os.environ.get("REF_INDEX", BLOCK_UID.split(".")[-1]))
 
 
 def test_remote_block_exact_match(atol_forward=1e-5, atol_inference=1e-3):
-    try:
-        dht = hivemind.DHT(initial_peers=INITIAL_PEERS, client_mode=True, start=True)
-    except Exception as e:
-        raise Exception(f"{INITIAL_PEERS} ; {repr(e)}")
+    dht = hivemind.DHT(initial_peers=INITIAL_PEERS, client_mode=True, start=True)
 
     remote_block = get_remote_module(dht, BLOCK_UID)
     assert remote_block is not None, f"Could not find {BLOCK_UID} in DHT"