mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fixup for correct timeout opts
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"net/url"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestRouteConfig(t *testing.T) {
|
||||
@@ -20,12 +19,12 @@ func TestRouteConfig(t *testing.T) {
|
||||
Port: 4242,
|
||||
Username: "derek",
|
||||
Password: "bella",
|
||||
AuthTimeout: 1.0 / float64(time.Second),
|
||||
AuthTimeout: 1.0,
|
||||
ClusterHost: "127.0.0.1",
|
||||
ClusterPort: 4244,
|
||||
ClusterUsername: "route_user",
|
||||
ClusterPassword: "top_secret",
|
||||
ClusterAuthTimeout: 1.0 / float64(time.Second),
|
||||
ClusterAuthTimeout: 1.0,
|
||||
}
|
||||
|
||||
// Setup URLs
|
||||
|
||||
Reference in New Issue
Block a user