Skip to content

Commit d682c50

Browse files
authored
Merge branch 'staging' into fix/e2e-test-incentive
2 parents 594a70f + ef31635 commit d682c50

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

tests/e2e_tests/test_commit_weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ async def test_commit_weights_uses_next_nonce(local_chain, subtensor, alice_wall
267267
assert success is True
268268

269269
# Wait a few blocks
270-
await asyncio.sleep(2) # Wait for the txs to be included in the chain
270+
await asyncio.sleep(10) # Wait for the txs to be included in the chain
271271

272272
# Query the WeightCommits storage map for all three salts
273273
weight_commits = subtensor.query_module(

tests/e2e_tests/utils/e2e_test_utils.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,7 @@ def clone_or_update_templates(specific_commit=None):
7878
return install_dir + templates_repo
7979

8080

81-
def install_templates(install_dir):
82-
subprocess.check_call([sys.executable, "-m", "pip", "install", "-e", "."])
83-
84-
8581
def uninstall_templates(install_dir):
86-
subprocess.check_call([sys.executable, "-m", "pip", "uninstall", "bittensor", "-y"])
8782
# Delete everything in directory
8883
shutil.rmtree(install_dir)
8984

@@ -93,7 +88,6 @@ def __init__(self):
9388
self.dir = clone_or_update_templates()
9489

9590
def __enter__(self):
96-
install_templates(self.dir)
9791
return self
9892

9993
def __exit__(self, exc_type, exc_value, traceback):

0 commit comments

Comments
 (0)