test: fix flaky test
This commit is contained in:
parent
76e51fa532
commit
79db2e6d7f
|
@ -303,6 +303,9 @@ t_crud(_Config) ->
|
||||||
t_status(Config) ->
|
t_status(Config) ->
|
||||||
[SN1 | _] = ?config(source_nodes, Config),
|
[SN1 | _] = ?config(source_nodes, Config),
|
||||||
Name = <<"cl.target">>,
|
Name = <<"cl.target">>,
|
||||||
|
?retry(
|
||||||
|
100,
|
||||||
|
10,
|
||||||
?assertMatch(
|
?assertMatch(
|
||||||
{200, [
|
{200, [
|
||||||
#{
|
#{
|
||||||
|
@ -320,6 +323,7 @@ t_status(Config) ->
|
||||||
}
|
}
|
||||||
]},
|
]},
|
||||||
list()
|
list()
|
||||||
|
)
|
||||||
),
|
),
|
||||||
?assertMatch(
|
?assertMatch(
|
||||||
{200, #{
|
{200, #{
|
||||||
|
|
Loading…
Reference in New Issue