forked from mirrors/homebox
feat: expose timeout variables (#622)
* expose timeout variables * formatting Former-commit-id: eeae790fe49b4a6be95b412ab5b3cf8968ec9cc1
This commit is contained in:
parent
e3ddc68eb2
commit
79be938531
7 changed files with 21 additions and 13 deletions
|
@ -13,8 +13,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
fk = faker.NewFaker()
|
||||
tbus = eventbus.New()
|
||||
fk = faker.NewFaker()
|
||||
tbus = eventbus.New()
|
||||
|
||||
tClient *ent.Client
|
||||
tRepos *AllRepos
|
||||
|
@ -45,7 +45,7 @@ func TestMain(m *testing.M) {
|
|||
log.Fatalf("failed opening connection to sqlite: %v", err)
|
||||
}
|
||||
|
||||
go tbus.Run()
|
||||
go tbus.Run()
|
||||
|
||||
err = client.Schema.Create(context.Background())
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue