Skip to content

Commit

Permalink
test register in smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Nov 19, 2023
1 parent 910b7f8 commit 8525633
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 7 additions & 1 deletion tests/smoke/0001-smoke.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ command = "polkadot"
max_validators_per_core = 2
needed_approvals = 2


[[relaychain.nodes]]
name = "alice"

[[relaychain.nodes]]
name = "bob"

[[relaychain.nodes]]
name = "charlie"

[[relaychain.nodes]]
name = "dave"

[[parachains]]
id = 100
add_to_genesis = true
Expand All @@ -34,6 +39,7 @@ id = 101
name = "collator101"
image = "{{CUMULUS_TEST_IMAGE}}"
command = "test-parachain"
args = ["-lparachain=debug"]

[types.Header]
number = "u64"
Expand Down
6 changes: 2 additions & 4 deletions tests/smoke/0001-smoke.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ alice: reports block height is at least 4 within 200 seconds

# parachains
alice: parachain 100 is registered within 225 seconds
alice: parachain 100 block height is at least 3 within 250 seconds

alice: parachain 101 is registered within 225 seconds
alice: parachain 101 block height is at least 3 within 250 seconds

# check adder-collator para
alice: parachain 100 block height is at least 3 within 250 seconds

# Logs assertions
alice: log line contains "Imported #2" within 20 seconds
Expand Down

0 comments on commit 8525633

Please sign in to comment.