Skip to content

Commit a03d7c0

Browse files
committed
fix (testdirectory): stop failing on Run errors
1 parent 9da8b2c commit a03d7c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testdirectory/directory.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ func Start(t TestingT, opt ...Option) *Directory {
157157
}
158158
go func() {
159159
err := d.s.Run(fmt.Sprintf("%s:%d", opts.withHost, opts.withPort), connOpts...)
160-
require.NoError(err)
160+
if err != nil {
161+
d.logger.Error("Error during shutdown", "op", "testdirectory.Start", "err", err.Error())
162+
}
161163
}()
162164

163165
if v, ok := interface{}(t).(CleanupT); ok {

0 commit comments

Comments
 (0)