@@ -37,7 +37,7 @@ fn simple_version_subscriptions_should_work() {
3737 weight_limit,
3838 Weight :: zero( ) ,
3939 ) ,
40- Outcome :: Error { error: XcmError :: Barrier }
40+ Outcome :: Incomplete { used : Weight :: from_parts ( 20 , 20 ) , error: XcmError :: Barrier }
4141 ) ;
4242
4343 // this case fails because the additional `SetAppendix` instruction is not allowed in the
@@ -50,7 +50,7 @@ fn simple_version_subscriptions_should_work() {
5050 weight_limit,
5151 Weight :: zero( ) ,
5252 ) ,
53- Outcome :: Error { error: XcmError :: Barrier }
53+ Outcome :: Incomplete { used : Weight :: from_parts ( 20 , 20 ) , error: XcmError :: Barrier }
5454 ) ;
5555
5656 let message = Xcm :: < TestCall > ( vec ! [ SubscribeVersion {
@@ -66,7 +66,10 @@ fn simple_version_subscriptions_should_work() {
6666 weight_limit,
6767 Weight :: zero ( ) ,
6868 ) ;
69- assert_eq ! ( r, Outcome :: Error { error: XcmError :: Barrier } ) ;
69+ assert_eq ! (
70+ r,
71+ Outcome :: Incomplete { used: Weight :: from_parts( 10 , 10 ) , error: XcmError :: Barrier }
72+ ) ;
7073
7174 let r = XcmExecutor :: < TestConfig > :: prepare_and_execute (
7275 Parent ,
@@ -139,7 +142,10 @@ fn simple_version_unsubscriptions_should_work() {
139142 weight_limit,
140143 Weight :: zero ( ) ,
141144 ) ;
142- assert_eq ! ( r, Outcome :: Error { error: XcmError :: Barrier } ) ;
145+ assert_eq ! (
146+ r,
147+ Outcome :: Incomplete { used: Weight :: from_parts( 20 , 20 ) , error: XcmError :: Barrier }
148+ ) ;
143149
144150 let origin = Parachain ( 1000 ) ;
145151 let message = Xcm :: < TestCall > ( vec ! [ UnsubscribeVersion ] ) ;
@@ -152,7 +158,10 @@ fn simple_version_unsubscriptions_should_work() {
152158 weight_limit,
153159 Weight :: zero ( ) ,
154160 ) ;
155- assert_eq ! ( r, Outcome :: Error { error: XcmError :: Barrier } ) ;
161+ assert_eq ! (
162+ r,
163+ Outcome :: Incomplete { used: Weight :: from_parts( 10 , 10 ) , error: XcmError :: Barrier }
164+ ) ;
156165
157166 let r = XcmExecutor :: < TestConfig > :: prepare_and_execute (
158167 Parent ,
0 commit comments