mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Create configutil and move some common config and setup functions there (#8362)
This commit is contained in:
@@ -230,28 +230,28 @@ func TestServer(t *testing.T) {
|
||||
{
|
||||
"bad_listener_read_header_timeout_config",
|
||||
testBaseHCL(t, badListenerReadHeaderTimeout) + inmemHCL,
|
||||
"Could not parse a time value for http_read_header_timeout",
|
||||
"unknown unit km in duration 12km",
|
||||
1,
|
||||
"-test-server-config",
|
||||
},
|
||||
{
|
||||
"bad_listener_read_timeout_config",
|
||||
testBaseHCL(t, badListenerReadTimeout) + inmemHCL,
|
||||
"Could not parse a time value for http_read_timeout",
|
||||
"parsing \"34日\": invalid syntax",
|
||||
1,
|
||||
"-test-server-config",
|
||||
},
|
||||
{
|
||||
"bad_listener_write_timeout_config",
|
||||
testBaseHCL(t, badListenerWriteTimeout) + inmemHCL,
|
||||
"Could not parse a time value for http_write_timeout",
|
||||
"unknown unit lbs in duration 56lbs",
|
||||
1,
|
||||
"-test-server-config",
|
||||
},
|
||||
{
|
||||
"bad_listener_idle_timeout_config",
|
||||
testBaseHCL(t, badListenerIdleTimeout) + inmemHCL,
|
||||
"Could not parse a time value for http_idle_timeout",
|
||||
"unknown unit gophers in duration 78gophers",
|
||||
1,
|
||||
"-test-server-config",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user