From 27d05a38e151794c30880592d5bcc3b2aa58a95d Mon Sep 17 00:00:00 2001 From: Squirrel Date: Wed, 28 Sep 2022 17:37:57 +0100 Subject: [PATCH] backport: update integration tests (#1695) * Update integration test v0.9.29 (#1681) * update it * remove comment * update it (#1689) Co-authored-by: Ignacio Palacios --- parachains/integration-tests/statemine/xcm/1_dmp.yml | 11 +++++++---- parachains/integration-tests/statemine/xcm/2_ump.yml | 7 +++++-- .../statemine/xcm/3_hrmp-open-channels.yml | 10 ++++++++-- parachains/integration-tests/statemine/xcm/4_hrmp.yml | 9 ++++++--- parachains/integration-tests/statemint/xcm/1_dmp.yml | 10 ++++++---- parachains/integration-tests/statemint/xcm/2_ump.yml | 6 ++++-- .../statemint/xcm/3_hrmp-open-channels.yml | 6 ++++-- parachains/integration-tests/statemint/xcm/4_hrmp.yml | 9 ++++++--- 8 files changed, 46 insertions(+), 22 deletions(-) diff --git a/parachains/integration-tests/statemine/xcm/1_dmp.yml b/parachains/integration-tests/statemine/xcm/1_dmp.yml index b5040c740c0..9b08555a251 100644 --- a/parachains/integration-tests/statemine/xcm/1_dmp.yml +++ b/parachains/integration-tests/statemine/xcm/1_dmp.yml @@ -77,7 +77,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 4,000,000,000 + threshold: [10, 10] + value: 1,021,973,000 - queries: balance_rc_sender_after: chain: *relay_chain @@ -148,7 +149,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,021,258,000 - queries: forced_created_asset: chain: *assets_parachain @@ -210,13 +212,14 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 750,645,000 - name: dmpQueue.ExecutedDownward chain: *assets_parachain attribute: type: XcmV2TraitsOutcome - isIncomplete: true - value: ['1,000,000,000' , UntrustedReserveLocation] + isError: true + value: "WeightNotComputable" - queries: balance_rc_sender_after: chain: *relay_chain diff --git a/parachains/integration-tests/statemine/xcm/2_ump.yml b/parachains/integration-tests/statemine/xcm/2_ump.yml index 6c8a816d163..daddf927931 100644 --- a/parachains/integration-tests/statemine/xcm/2_ump.yml +++ b/parachains/integration-tests/statemine/xcm/2_ump.yml @@ -62,7 +62,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 4,000,000,000 + threshold: [10, 10] + value: 1,021,973,000 - name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver actions: @@ -97,12 +98,14 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 360,315,000 - name: ump.ExecutedUpward chain: *relay_chain attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 297,578,000 - queries: balance_ap_sender_after: diff --git a/parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml b/parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml index ee4b946cb48..45bf89e2b05 100644 --- a/parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml +++ b/parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml @@ -203,6 +203,7 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 1,160,892,000 - name: hrmp.OpenChannelRequested chain: *relay_chain @@ -259,7 +260,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,021,258,000 - name: polkadotXcm.Sent chain: *assets_parachain - name: ump.ExecutedUpward @@ -267,6 +269,7 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 1,160,892,000 - name: hrmp.OpenChannelAccepted timeout: 40000 @@ -324,7 +327,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,021,258,000 - name: polkadotXcm.Sent chain: *assets_parachain - name: ump.ExecutedUpward @@ -332,6 +336,7 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 1,160,892,000 - name: hrmp.OpenChannelRequested timeout: 40000 @@ -397,6 +402,7 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true + threshold: [10, 10] value: 1,160,892,000 - name: hrmp.OpenChannelAccepted chain: *relay_chain diff --git a/parachains/integration-tests/statemine/xcm/4_hrmp.yml b/parachains/integration-tests/statemine/xcm/4_hrmp.yml index febec32af73..28ef7bc803a 100644 --- a/parachains/integration-tests/statemine/xcm/4_hrmp.yml +++ b/parachains/integration-tests/statemine/xcm/4_hrmp.yml @@ -87,7 +87,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,021,258,000 - queries: forced_created_asset: chain: *assets_parachain @@ -168,7 +169,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 1,000,000,000 + threshold: [10, 10] + value: 654,608,000 - name: assets.Transferred attribute: type: AccountId32 @@ -215,7 +217,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 1,000,000,000 + threshold: [10, 10] + value: 654,608,000 - name: balances.Endowed attribute: type: AccountId32 diff --git a/parachains/integration-tests/statemint/xcm/1_dmp.yml b/parachains/integration-tests/statemint/xcm/1_dmp.yml index 02e5b864bf3..5f0fa349072 100644 --- a/parachains/integration-tests/statemint/xcm/1_dmp.yml +++ b/parachains/integration-tests/statemint/xcm/1_dmp.yml @@ -77,7 +77,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 4,000,000,000 + threshold: [10, 10] + value: 1,021,635,000 - queries: balance_rc_sender_after: chain: *relay_chain @@ -148,7 +149,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,020,807,000 - queries: forced_created_asset: chain: *assets_parachain @@ -215,8 +217,8 @@ tests: chain: *assets_parachain attribute: type: XcmV2TraitsOutcome - isIncomplete: true - value: ['1,000,000,000' , UntrustedReserveLocation] + isError: true + value: "WeightNotComputable" - queries: balance_rc_sender_after: chain: *relay_chain diff --git a/parachains/integration-tests/statemint/xcm/2_ump.yml b/parachains/integration-tests/statemint/xcm/2_ump.yml index c20872ca687..f51823eb3e8 100644 --- a/parachains/integration-tests/statemint/xcm/2_ump.yml +++ b/parachains/integration-tests/statemint/xcm/2_ump.yml @@ -62,7 +62,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 4,000,000,000 + threshold: [10, 10] + value: 1,021,635,000 - name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver actions: @@ -98,7 +99,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 358,878,000 - name: ump.ExecutedUpward chain: *relay_chain attribute: diff --git a/parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml b/parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml index a164ce9c98d..f83e778f1c0 100644 --- a/parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml +++ b/parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml @@ -257,7 +257,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,020,807,000 - name: polkadotXcm.Sent chain: *assets_parachain - name: ump.ExecutedUpward @@ -322,7 +323,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,020,807,000 - name: polkadotXcm.Sent chain: *assets_parachain - name: ump.ExecutedUpward diff --git a/parachains/integration-tests/statemint/xcm/4_hrmp.yml b/parachains/integration-tests/statemint/xcm/4_hrmp.yml index b6e5d4ff9d6..5de5e190820 100644 --- a/parachains/integration-tests/statemint/xcm/4_hrmp.yml +++ b/parachains/integration-tests/statemint/xcm/4_hrmp.yml @@ -87,7 +87,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 2,000,000,000 + threshold: [10, 10] + value: 1,020,807,000 - queries: forced_created_asset: chain: *assets_parachain @@ -167,7 +168,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 1,000,000,000 + threshold: [10, 10] + value: 654,404,000 - name: assets.Transferred attribute: type: AccountId32 @@ -214,7 +216,8 @@ tests: attribute: type: XcmV2TraitsOutcome isComplete: true - value: 1,000,000,000 + threshold: [10, 10] + value: 654,404,000 - name: balances.Endowed attribute: type: AccountId32