2015-03-12 22:21:11 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestLoadConfigFile(t *testing.T) {
|
2019-10-17 17:33:00 +00:00
|
|
|
testLoadConfigFile(t)
|
2015-03-12 22:21:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func TestLoadConfigFile_json(t *testing.T) {
|
2019-10-17 17:33:00 +00:00
|
|
|
testLoadConfigFile_json(t)
|
2015-03-12 22:21:11 +00:00
|
|
|
}
|
|
|
|
|
2020-05-19 23:13:05 +00:00
|
|
|
func TestLoadConfigFileIntegerAndBooleanValues(t *testing.T) {
|
|
|
|
testLoadConfigFileIntegerAndBooleanValues(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLoadConfigFileIntegerAndBooleanValuesJson(t *testing.T) {
|
|
|
|
testLoadConfigFileIntegerAndBooleanValuesJson(t)
|
|
|
|
}
|
|
|
|
|
2020-11-13 18:26:58 +00:00
|
|
|
func TestLoadConfigFileWithLeaseMetricTelemetry(t *testing.T) {
|
|
|
|
testLoadConfigFileLeaseMetrics(t)
|
|
|
|
}
|
|
|
|
|
2015-03-12 22:21:11 +00:00
|
|
|
func TestLoadConfigDir(t *testing.T) {
|
2019-10-17 17:33:00 +00:00
|
|
|
testLoadConfigDir(t)
|
2015-03-12 22:21:11 +00:00
|
|
|
}
|
2016-03-09 23:59:44 +00:00
|
|
|
|
2019-10-08 17:57:15 +00:00
|
|
|
func TestConfig_Sanitized(t *testing.T) {
|
2019-10-17 17:33:00 +00:00
|
|
|
testConfig_Sanitized(t)
|
2019-10-08 17:57:15 +00:00
|
|
|
}
|
|
|
|
|
2017-08-03 11:33:06 +00:00
|
|
|
func TestParseListeners(t *testing.T) {
|
2019-10-17 17:33:00 +00:00
|
|
|
testParseListeners(t)
|
2017-08-03 11:33:06 +00:00
|
|
|
}
|
2019-10-17 17:33:00 +00:00
|
|
|
|
2022-11-01 18:02:07 +00:00
|
|
|
func TestParseUserLockouts(t *testing.T) {
|
|
|
|
testParseUserLockouts(t)
|
|
|
|
}
|
|
|
|
|
2021-10-21 14:10:48 +00:00
|
|
|
func TestParseSockaddrTemplate(t *testing.T) {
|
|
|
|
testParseSockaddrTemplate(t)
|
|
|
|
}
|
|
|
|
|
2020-01-14 01:02:16 +00:00
|
|
|
func TestConfigRaftRetryJoin(t *testing.T) {
|
|
|
|
testConfigRaftRetryJoin(t)
|
|
|
|
}
|
2020-07-23 17:53:00 +00:00
|
|
|
|
|
|
|
func TestParseSeals(t *testing.T) {
|
|
|
|
testParseSeals(t)
|
|
|
|
}
|
2021-05-04 19:47:56 +00:00
|
|
|
|
2022-06-09 22:55:49 +00:00
|
|
|
func TestParseStorage(t *testing.T) {
|
|
|
|
testParseStorageTemplate(t)
|
|
|
|
}
|
|
|
|
|
2021-05-04 19:47:56 +00:00
|
|
|
func TestUnknownFieldValidation(t *testing.T) {
|
|
|
|
testUnknownFieldValidation(t)
|
|
|
|
}
|
2022-05-12 16:04:56 +00:00
|
|
|
|
2022-10-27 14:28:03 +00:00
|
|
|
func TestUnknownFieldValidationJson(t *testing.T) {
|
|
|
|
testUnknownFieldValidationJson(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestUnknownFieldValidationHcl(t *testing.T) {
|
|
|
|
testUnknownFieldValidationHcl(t)
|
|
|
|
}
|
|
|
|
|
2022-05-12 16:04:56 +00:00
|
|
|
func TestUnknownFieldValidationListenerAndStorage(t *testing.T) {
|
|
|
|
testUnknownFieldValidationStorageAndListener(t)
|
|
|
|
}
|