fix(dynamo): fix test case errors

This commit is contained in:
firest 2023-04-26 17:03:01 +08:00
parent e467e082f0
commit 9eccfa5cdf
1 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ t_setup_via_config_and_publish(Config) ->
end, end,
fun(Trace0) -> fun(Trace0) ->
Trace = ?of_kind(dynamo_connector_query_return, Trace0), Trace = ?of_kind(dynamo_connector_query_return, Trace0),
?assertMatch([#{result := ok}], Trace), ?assertMatch([#{result := {ok, _}}], Trace),
ok ok
end end
), ),
@ -328,7 +328,7 @@ t_setup_via_http_api_and_publish(Config) ->
end, end,
fun(Trace0) -> fun(Trace0) ->
Trace = ?of_kind(dynamo_connector_query_return, Trace0), Trace = ?of_kind(dynamo_connector_query_return, Trace0),
?assertMatch([#{result := ok}], Trace), ?assertMatch([#{result := {ok, _}}], Trace),
ok ok
end end
), ),