Skip to content

Commit d619fbc

Browse files
committed
test(secrets): fix flakiness
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
1 parent 5367b27 commit d619fbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/astarte_secrets/test/test_helper.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ for module <- modules, do: Mimic.copy(module)
1111

1212
Astarte.Secrets.Config.init()
1313

14+
# fix flakiness due to async tests
15+
Astarte.Secrets.Core.create_nested_namespace(["fdo_owner_keys", "default_instance"])
16+
Astarte.Secrets.Core.create_nested_namespace(["fdo_owner_keys", "instance"])
17+
1418
ExUnit.start(capture_log: true)

0 commit comments

Comments
 (0)