diff options
author | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2023-03-22 14:12:06 +0100 |
---|---|---|
committer | Till Faelligen <2353100+S7evinK@users.noreply.github.com> | 2023-03-22 14:50:21 +0100 |
commit | 6948d1652742ae83cf7729f1cfaa0d1ea796b703 (patch) | |
tree | 018638a36cff184d792a429e503488da3a983b2a /test | |
parent | 5e85a00cb36c3d343cd5b6f6a18435989724a135 (diff) |
Update Go, use go tool covdata for coverage files?
Diffstat (limited to 'test')
-rw-r--r-- | test/testrig/base.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testrig/base.go b/test/testrig/base.go index fd85578e..95370459 100644 --- a/test/testrig/base.go +++ b/test/testrig/base.go @@ -51,6 +51,7 @@ func CreateConfig(t *testing.T, dbType test.DBType) (*config.Dendrite, *process. // use a distinct prefix else concurrent postgres/sqlite runs will clash since NATS will use // the file system event with InMemory=true :( cfg.Global.JetStream.TopicPrefix = fmt.Sprintf("Test_%d_", dbType) + cfg.SyncAPI.Fulltext.InMemory = true connStr, closeDb := test.PrepareDBConnectionString(t, dbType) cfg.Global.DatabaseOptions = config.DatabaseOptions{ @@ -70,7 +71,7 @@ func CreateConfig(t *testing.T, dbType test.DBType) (*config.Dendrite, *process. SingleDatabase: false, }) cfg.Global.ServerName = "test" - + cfg.SyncAPI.Fulltext.InMemory = true // use a distinct prefix else concurrent postgres/sqlite runs will clash since NATS will use // the file system event with InMemory=true :( cfg.Global.JetStream.TopicPrefix = fmt.Sprintf("Test_%d_", dbType) |