mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: minor test improvements (#794)
This commit is contained in:
committed by
Reed Allman
parent
5551d6318a
commit
95d64f3aa9
@@ -26,6 +26,7 @@ var tmpDatastoreTests = "/tmp/func_test_datastore.db"
|
||||
|
||||
func testServer(ds models.Datastore, mq models.MessageQueue, logDB models.LogStore, rnr agent.Agent, nodeType ServerNodeType) *Server {
|
||||
return New(context.Background(),
|
||||
WithLogLevel(getEnv(EnvLogLevel, DefaultLogLevel)),
|
||||
WithDatastore(ds),
|
||||
WithMQ(mq),
|
||||
WithLogstore(logDB),
|
||||
|
||||
Reference in New Issue
Block a user