Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864972
D5487.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
964 B
Subscribers
None
D5487.id.diff
View Options
diff --git a/test/functional/example_test.py b/test/functional/example_test.py
--- a/test/functional/example_test.py
+++ b/test/functional/example_test.py
@@ -120,7 +120,7 @@
# sync_all() should not include node2, since we're not expecting it to
# sync.
connect_nodes(self.nodes[0], self.nodes[1])
- self.sync_all([self.nodes[0:1]])
+ self.sync_all([self.nodes[0:2]])
# Use setup_nodes() to customize the node start behaviour (for example if
# you don't want to start all nodes at the start of the test).
@@ -145,7 +145,7 @@
# Generating a block on one of the nodes will get us out of IBD
blocks = [int(self.nodes[0].generate(nblocks=1)[0], 16)]
- self.sync_all([self.nodes[0:1]])
+ self.sync_all([self.nodes[0:2]])
# Notice above how we called an RPC by calling a method with the same
# name on the node object. Notice also how we used a keyword argument
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 23:47 (40 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5861913
Default Alt Text
D5487.id.diff (964 B)
Attached To
D5487: Merge #14215: [qa] Use correct python index slices in example test
Event Timeline
Log In to Comment