We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac29f5 commit fadf7b8Copy full SHA for fadf7b8
test/functional/rpc_net.py
@@ -185,7 +185,8 @@ def test_getnetworkinfo(self):
185
self.nodes[0].setnetworkactive(state=False)
186
assert_equal(self.nodes[0].getnetworkinfo()['networkactive'], False)
187
# Wait a bit for all sockets to close
188
- self.wait_until(lambda: self.nodes[0].getnetworkinfo()['connections'] == 0, timeout=3)
+ for n in self.nodes:
189
+ self.wait_until(lambda: n.getnetworkinfo()['connections'] == 0, timeout=3)
190
191
with self.nodes[0].assert_debug_log(expected_msgs=['SetNetworkActive: true\n']):
192
self.nodes[0].setnetworkactive(state=True)
0 commit comments