fn: minor test improvements (#794)

This commit is contained in:
Tolga Ceylan
2018-02-26 15:10:40 -08:00
committed by Reed Allman
parent 5551d6318a
commit 95d64f3aa9
3 changed files with 19 additions and 6 deletions

View File

@@ -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),