1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-09-16 08:36:30 +02:00

os.Exit on log.Fatal (#1316)

* os.Exit on log.Fatal

* Fix TestOptions

Co-authored-by: Ben Toogood <ben@micro.mu>
This commit is contained in:
ben-toogood
2020-03-09 09:23:42 +00:00
committed by GitHub
parent f01664a551
commit e3ce45495a
2 changed files with 7 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ func TestOptions(t *testing.T) {
name = "service-name"
id = "service-id"
version = "service-version"
address = "service-addr"
address = "service-addr:8080"
advertise = "service-adv"
reg = memory.NewRegistry()
registerTTL = 123 * time.Second