mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix "error opening file" errors in tests for Windows
This sort of just punts on the problem by not creating log files in the tests, but it seemed like the simplest solution.
This commit is contained in:
@@ -11,7 +11,6 @@ authorization {
|
||||
}
|
||||
|
||||
pid_file: '/tmp/nats_cluster_test.pid'
|
||||
log_file: '/tmp/nats_cluster_test.log'
|
||||
|
||||
cluster {
|
||||
host: 127.0.0.1
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
# Our role based permissions.
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
# Our role based permissions.
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
max_connections: 1
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
max_payload: 1
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
users = [
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
users = [
|
||||
|
||||
@@ -6,7 +6,6 @@ trace: true # enable on reload
|
||||
logtime: true # enable on reload
|
||||
syslog: true # enable on reload
|
||||
remote_syslog: "udp://localhost:514" # change on reload
|
||||
log_file: "/tmp/gnatsd-2.log" # change on reload
|
||||
|
||||
pid_file: "/tmp/gnatsd.pid" # change on reload
|
||||
max_control_line: 512 # change on reload
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
debug: false
|
||||
trace: true
|
||||
logtime: true # logtime not supported on config reload
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
user: tyler
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
user: derek
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
debug: false
|
||||
trace: false
|
||||
logtime: false
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
cluster {
|
||||
listen: localhost:-1
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
# Simple TLS config file
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
tls {
|
||||
cert_file: "./configs/certs/server.pem"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
# Simple TLS config file
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
tls {
|
||||
cert_file: "./configs/certs/cert.new.pem"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
token: T0pS3cr3t
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Apcera Inc. All rights reserved.
|
||||
|
||||
listen: localhost:-1
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
|
||||
authorization {
|
||||
token: passw0rd
|
||||
|
||||
@@ -16,7 +16,6 @@ authorization {
|
||||
debug: false
|
||||
trace: true
|
||||
logtime: false
|
||||
log_file: "/tmp/gnatsd.log"
|
||||
syslog: true
|
||||
remote_syslog: "udp://foo.com:33"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user