fix: push timeout (#4882) (#4885)

* push with timeout

* test: config for eventstore

(cherry picked from commit b9156da76d)

Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
Livio Spring
2022-12-15 10:40:13 +01:00
committed by GitHub
parent 3e52beaf89
commit d21bb902f1
11 changed files with 88 additions and 33 deletions

View File

@@ -29,7 +29,7 @@ func eventstoreExpect(t *testing.T, expects ...expect) *eventstore.Eventstore {
for _, e := range expects {
e(m)
}
es := eventstore.NewEventstore(m)
es := eventstore.NewEventstore(eventstore.TestConfig(m))
iam_repo.RegisterEventMappers(es)
org.RegisterEventMappers(es)
usr_repo.RegisterEventMappers(es)