Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
655dc45
Initial commit
cecton May 6, 2020
9a47c09
Added subcommand to run polkadot
cecton May 6, 2020
32e81cf
Add command validation-worker
cecton May 6, 2020
df0f832
Add storage_append to runtime
cecton May 6, 2020
892d057
WIP
cecton May 7, 2020
41f50ee
WIP
cecton May 8, 2020
214e50d
WIP
cecton May 8, 2020
cd131ff
WIP
cecton May 11, 2020
3212554
clean exit if possible
cecton May 11, 2020
0286a88
wip
cecton May 11, 2020
d38edea
WIP
cecton May 11, 2020
3d162e0
WIP
cecton May 11, 2020
62b544e
WIP
cecton May 11, 2020
17887fc
.editorconfig
cecton May 12, 2020
a0eb356
register working
cecton May 12, 2020
9961be4
WIP
cecton May 12, 2020
baa4357
clean-up
cecton May 13, 2020
fc408e4
Rename ProcessCleanUp to ChildHelper
cecton May 13, 2020
22b64de
More clean-up
cecton May 13, 2020
a978970
Runs integration test separately
cecton May 13, 2020
ee3832a
Merge commit 3acb6d0d835c3589f50bf0911729baaea41981fc (no conflict)
cecton May 13, 2020
1267f80
Merge commit c163d8702b27e542caebd0df585d45ec761edc2a (conflicts)
cecton May 13, 2020
368a582
Simplify toml
cecton May 13, 2020
de2b666
Merge commit e810cf3b5ba4b6b1a2848bc57a6302146fc54d78 (conflicts)
cecton May 13, 2020
a17dd34
Merge commit d6ab13c00f555674212b0c86620fdb504d8cf505 (no conflict)
cecton May 13, 2020
31768ce
Initial commit
cecton May 13, 2020
68b0dcf
Update substrate & polkadot branch
cecton May 13, 2020
e2f3fdc
Update test/parachain/tests/integration_test.rs
cecton May 13, 2020
0361e14
Split polkadot service creation from service building/running
cecton May 13, 2020
cde8935
Applied suggestions
cecton May 13, 2020
145ec00
Renamed _child to _helper
cecton May 13, 2020
0d21e75
Use JustifiedBlockAnnounceValidator
cecton May 13, 2020
671d5f9
Update test/parachain/tests/integration_test.rs
cecton May 14, 2020
a5c89b0
Make a function for generate_genesis_state
cecton May 14, 2020
9697b62
Move std::io::Read import
cecton May 14, 2020
a300ea9
wait_for_tcp indefinitely + remove 10s wait for relay blocks
cecton May 14, 2020
87489c5
Implement max time allowed for the test
cecton May 14, 2020
6f0075a
rpc call to monitor new blocks
cecton May 14, 2020
9c7af42
Removed unused helpers
cecton May 14, 2020
19b7942
Update test/parachain/tests/integration_test.rs
cecton May 14, 2020
6eca4f0
Not sure why I made a helper for this in the first place...
cecton May 15, 2020
6e43fd4
WIP
cecton May 15, 2020
2564cce
cleanup
cecton May 15, 2020
542eb35
CLEANUP
cecton May 15, 2020
ddb111f
Merge branch 'cecton-int-test' into cecton-use-custom-block-announce-…
cecton May 15, 2020
d985af8
WIP
cecton May 15, 2020
e4fb6aa
Apply suggestions
cecton May 15, 2020
bf68f24
Fix p2p ports
cecton May 15, 2020
8c24090
Merge branch 'cecton-int-test' into cecton-use-custom-block-announce-…
cecton May 18, 2020
a633fdd
Add test in int test scenario
cecton May 18, 2020
865542d
CLEANUP
cecton May 18, 2020
56929d6
CLEANUP
cecton May 18, 2020
0b1f21b
Merge commit e183d8bd30514d941586bb9bb6decce322572fca (no conflict)
cecton May 18, 2020
c9f95a3
Merge commit 0a7cde66102efe59f4041e5fe5603eace6443328 (conflicts)
cecton May 18, 2020
e7fe457
Refactor
cecton May 19, 2020
bb89a33
Removes some unwrap & introduce parking_lot
cecton May 19, 2020
9cc6f21
Replace match by expect
cecton May 19, 2020
5a257d6
Update network/src/lib.rs
cecton May 19, 2020
934fd5c
Add doc
cecton May 19, 2020
21dba8c
Reduce comment
cecton May 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Renamed _child to _helper
  • Loading branch information
cecton committed May 13, 2020
commit 145ec006973112e436d6e22c565faf7ebedf3b1b
10 changes: 5 additions & 5 deletions test/parachain/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async fn integration_test() {
.arg("--unsafe-rpc-expose")
.spawn()
.unwrap();
let polkadot_alice_child = ChildHelper::new("alice", &mut polkadot_alice);
let polkadot_alice_helper = ChildHelper::new("alice", &mut polkadot_alice);
wait_for_tcp("127.0.0.1:9933").unwrap();

// start bob
Expand All @@ -253,7 +253,7 @@ async fn integration_test() {
.arg("--rpc-port=9934")
.spawn()
.unwrap();
let polkadot_bob_child = ChildHelper::new("bob", &mut polkadot_bob);
let polkadot_bob_helper = ChildHelper::new("bob", &mut polkadot_bob);
wait_for_tcp("127.0.0.1:9934").unwrap();

// wait a bit for some relay chains blocks to be generated
Expand Down Expand Up @@ -387,15 +387,15 @@ async fn integration_test() {
))
.spawn()
.unwrap();
let mut cumulus_child = ChildHelper::new("cumulus", &mut cumulus);
let mut cumulus_helper = ChildHelper::new("cumulus", &mut cumulus);

// wait for blocks to be generated
thread::sleep(Duration::from_secs(60));

// check output
cumulus_child.terminate();
cumulus_helper.terminate();
assert!(
cumulus_child
cumulus_helper
.read_stderr_to_end()
.unwrap()
.contains("best: #2"),
Expand Down