test(ft-conf): verify undefined password won't become `******`
This commit is contained in:
parent
ff2fb95e5d
commit
8af9512a90
|
@ -428,7 +428,7 @@ test_configure(Uri, Config) ->
|
||||||
<<"exporter">> := #{
|
<<"exporter">> := #{
|
||||||
<<"s3">> := #{
|
<<"s3">> := #{
|
||||||
<<"transport_options">> := #{
|
<<"transport_options">> := #{
|
||||||
<<"ssl">> := #{
|
<<"ssl">> := SSL = #{
|
||||||
<<"enable">> := true,
|
<<"enable">> := true,
|
||||||
<<"certfile">> := <<"/", _CertFilepath/bytes>>,
|
<<"certfile">> := <<"/", _CertFilepath/bytes>>,
|
||||||
<<"keyfile">> := <<"/", _KeyFilepath/bytes>>
|
<<"keyfile">> := <<"/", _KeyFilepath/bytes>>
|
||||||
|
@ -441,7 +441,7 @@ test_configure(Uri, Config) ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
} when not is_map_key(<<"password">>, SSL),
|
||||||
GetConfigJson
|
GetConfigJson
|
||||||
),
|
),
|
||||||
?assertMatch(
|
?assertMatch(
|
||||||
|
|
Loading…
Reference in New Issue