Skip to content

Commit

Permalink
Log db params in nessie auth_test
Browse files Browse the repository at this point in the history
  • Loading branch information
arielshaqed committed Nov 15, 2020
1 parent 25b500e commit 5740599
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nessie/auth_test.go
@@ -1,6 +1,7 @@
package nessie

import (
"fmt"
"net/url"
"testing"

Expand All @@ -21,10 +22,11 @@ const (
)

func TestSuperuserWithPassedCreds(t *testing.T) {
ctx, _, _ := setupTest(t)
ctx, log, _ := setupTest(t)

cfg := config.NewConfig()
dbParams := cfg.GetDatabaseParams()
log.WithField("db_config", fmt.Sprintf("%q", dbParams)).Info("connect to DB")
pool := db.BuildDatabaseConnection(dbParams)

viper.SetEnvPrefix("LAKEFS") // Fetch lakeFS envariables in config
Expand Down

0 comments on commit 5740599

Please sign in to comment.