Fix error in test comment

The test is ensuring config reload fails when trying to change cluster
host.
This commit is contained in:
Tyler Treat
2017-07-10 12:32:12 -05:00
parent b6e43c0dc1
commit 317a04f106
2 changed files with 4 additions and 2 deletions

View File

@@ -3,5 +3,7 @@
# logging options
debug: false
trace: true
logtime: true # logtime not supported on config reload
logtime: true
log_file: "/tmp/gnatsd.log"
# Removes cluster host, which is unsupported.

View File

@@ -71,7 +71,7 @@ func TestConfigReloadUnsupported(t *testing.T) {
t.Fatalf("Error creating symlink: %v (ensure you have privileges)", err)
}
// This should fail because `debug` cannot be changed.
// This should fail because `cluster` host cannot be changed.
if err := server.Reload(); err == nil {
t.Fatal("Expected Reload to return an error")
}