Merged in bugfix/flakydb (pull request #21)
Bugfix/flakydb * init * fixenvvar * fixtest
This commit is contained in:
@@ -2,6 +2,8 @@ package server_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"path"
|
||||
"queryorchestration/internal/server"
|
||||
"queryorchestration/internal/test"
|
||||
"testing"
|
||||
@@ -18,7 +20,7 @@ func TestNew(t *testing.T) {
|
||||
defer cleanup()
|
||||
|
||||
newCfg := &server.NewConfig{
|
||||
BasePath: "../..",
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../.."),
|
||||
}
|
||||
|
||||
cfg := server.New(ctx, newCfg)
|
||||
|
||||
Reference in New Issue
Block a user