commit
cf5657d4bb
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
span.End()
|
||||
shutdown(ctx)
|
||||
os.Exit(m.Run())
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func setupTest(t *testing.T) context.Context {
|
||||
|
|
|
@ -50,5 +50,5 @@ func TestMain(m *testing.M) {
|
|||
span.SetAttributes(attribute.Int("exit", code))
|
||||
span.End()
|
||||
shutdown(ctx)
|
||||
os.Exit(m.Run())
|
||||
os.Exit(code)
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
span.SetAttributes(attribute.Int("exit", ec))
|
||||
shutdown(ctx)
|
||||
os.Exit(m.Run())
|
||||
os.Exit(ec)
|
||||
}
|
||||
|
||||
func setupTest(t *testing.T) context.Context {
|
||||
|
|
Loading…
Add table
Reference in a new issue