testplanet: log stack trace for error during creation

Change-Id: Ifcd2cba4195413a7213ba4d113c43f9fb3cbc3e5
This commit is contained in:
Jeff Wendling 2020-02-10 11:58:17 -07:00 committed by Egon Elbre
parent bde302fdb8
commit 99c3ba5bbf

View File

@ -42,7 +42,7 @@ func Run(t *testing.T, config Config, test func(t *testing.T, ctx *testcontext.C
planet, err := NewCustom(zaptest.NewLogger(t), planetConfig)
if err != nil {
t.Fatal(err)
t.Fatalf("%+v", err)
}
defer ctx.Check(planet.Shutdown)