@@ -852,7 +852,7 @@ counter_enforce_once_test(Config) ->
852
852
lager :info (" Adding invariant on node: ~p !" , [Node ]),
853
853
854
854
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
855
- ok ->
855
+ { ok , _Pid } ->
856
856
lager :info (" Invariant configured!" );
857
857
Error ->
858
858
lager :info (" Invariant can't be configured: ~p " , [Error ]),
@@ -913,7 +913,7 @@ counter_strict_enforce_once_test(Config) ->
913
913
lager :info (" Adding invariant on node: ~p !" , [Node ]),
914
914
915
915
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
916
- ok ->
916
+ { ok , _Pid } ->
917
917
lager :info (" Invariant configured!" );
918
918
Error ->
919
919
lager :info (" Invariant can't be configured: ~p " , [Error ]),
@@ -973,7 +973,7 @@ awset_enforce_once_test(Config) ->
973
973
lager :info (" Adding invariant on node: ~p !" , [Node ]),
974
974
975
975
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
976
- ok ->
976
+ { ok , _Pid } ->
977
977
lager :info (" Invariant configured!" );
978
978
Error ->
979
979
lager :info (" Invariant can't be configured: ~p " , [Error ]),
@@ -1027,7 +1027,7 @@ awset_strict_enforce_once_test(Config) ->
1027
1027
lager :info (" Adding invariant on node: ~p !" , [Node ]),
1028
1028
1029
1029
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
1030
- ok ->
1030
+ { ok , _Pid } ->
1031
1031
lager :info (" Invariant configured!" );
1032
1032
Error ->
1033
1033
lager :info (" Invariant can't be configured: ~p " , [Error ]),
@@ -1081,7 +1081,7 @@ orset_enforce_once_test(Config) ->
1081
1081
lager :info (" Adding invariant on node: ~p !" , [Node ]),
1082
1082
1083
1083
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
1084
- ok ->
1084
+ { ok , _Pid } ->
1085
1085
lager :info (" Invariant configured!" );
1086
1086
Error ->
1087
1087
lager :info (" Invariant can't be configured: ~p " , [Error ]),
@@ -1135,7 +1135,7 @@ orset_strict_enforce_once_test(Config) ->
1135
1135
lager :info (" Adding invariant on node: ~p !" , [Node ]),
1136
1136
1137
1137
case rpc :call (Node , lasp , enforce_once , [Id , Threshold , EnforceFun ]) of
1138
- ok ->
1138
+ { ok , _Pid } ->
1139
1139
lager :info (" Invariant configured!" );
1140
1140
Error ->
1141
1141
lager :info (" Invariant can't be configured: ~p " , [Error ]),
0 commit comments