Skip to content

Commit 90433a0

Browse files
tests: use 9944 as a default port
1 parent bd0f540 commit 90433a0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

tests/e2e_tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def read_output():
8080
wait_for_node_start(process, pattern)
8181

8282
# Run the test, passing in substrate interface
83-
yield SubstrateInterface(url="ws://127.0.0.1:9945")
83+
yield SubstrateInterface(url="ws://127.0.0.1:9944")
8484

8585
# Terminate the process group (includes all child processes)
8686
os.killpg(os.getpgid(process.pid), signal.SIGTERM)
@@ -113,7 +113,7 @@ def templates():
113113

114114
@pytest.fixture
115115
def subtensor(local_chain):
116-
return Subtensor(network="ws://localhost:9945")
116+
return Subtensor(network="ws://localhost:9944")
117117

118118

119119
@pytest.fixture

tests/e2e_tests/test_axon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async def test_axon(subtensor, templates, alice_wallet):
5555
"--subtensor.network",
5656
"local",
5757
"--subtensor.chain_endpoint",
58-
"ws://localhost:9945",
58+
"ws://localhost:9944",
5959
"--wallet.path",
6060
alice_wallet.path,
6161
"--wallet.name",

tests/e2e_tests/test_dendrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async def test_dendrite(local_chain, subtensor, templates, alice_wallet, bob_wal
114114
"--subtensor.network",
115115
"local",
116116
"--subtensor.chain_endpoint",
117-
"ws://localhost:9945",
117+
"ws://localhost:9944",
118118
"--wallet.path",
119119
bob_wallet.path,
120120
"--wallet.name",

tests/e2e_tests/test_incentive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
7777
"--subtensor.network",
7878
"local",
7979
"--subtensor.chain_endpoint",
80-
"ws://localhost:9945",
80+
"ws://localhost:9944",
8181
"--wallet.path",
8282
bob_wallet.path,
8383
"--wallet.name",
@@ -106,7 +106,7 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
106106
"--subtensor.network",
107107
"local",
108108
"--subtensor.chain_endpoint",
109-
"ws://localhost:9945",
109+
"ws://localhost:9944",
110110
"--wallet.path",
111111
alice_wallet.path,
112112
"--wallet.name",

tests/e2e_tests/test_root_set_weights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async def test_root_reg_hyperparams(
9494
"--subtensor.network",
9595
"local",
9696
"--subtensor.chain_endpoint",
97-
"ws://localhost:9945",
97+
"ws://localhost:9944",
9898
"--wallet.path",
9999
alice_wallet.path,
100100
"--wallet.name",

tests/e2e_tests/test_subtensor_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def test_subtensor_extrinsics(subtensor, templates, alice_wallet, bob_wall
165165
"--subtensor.network",
166166
"local",
167167
"--subtensor.chain_endpoint",
168-
"ws://localhost:9945",
168+
"ws://localhost:9944",
169169
"--wallet.path",
170170
alice_wallet.path,
171171
"--wallet.name",

0 commit comments

Comments
 (0)