2945924b2b
* config file changes * lockout config changes * auth tune r/w and auth tune * removing changes at enable * removing q.Q * go mod tidy * removing comments * changing struct name for config file * fixing mount tune * adding test file for user lockout * fixing comments and add changelog * addressing comments * fixing mount table updates * updating consts in auth_tune * small fixes * adding hcl parse test * fixing config compare * fixing github comments * optimize userlockouts.go * fixing test * minor changes * adding comments * adding sort to flaky test * fix flaky test
74 lines
1.4 KiB
Go
74 lines
1.4 KiB
Go
package server
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadConfigFile(t *testing.T) {
|
|
testLoadConfigFile(t)
|
|
}
|
|
|
|
func TestLoadConfigFile_json(t *testing.T) {
|
|
testLoadConfigFile_json(t)
|
|
}
|
|
|
|
func TestLoadConfigFileIntegerAndBooleanValues(t *testing.T) {
|
|
testLoadConfigFileIntegerAndBooleanValues(t)
|
|
}
|
|
|
|
func TestLoadConfigFileIntegerAndBooleanValuesJson(t *testing.T) {
|
|
testLoadConfigFileIntegerAndBooleanValuesJson(t)
|
|
}
|
|
|
|
func TestLoadConfigFileWithLeaseMetricTelemetry(t *testing.T) {
|
|
testLoadConfigFileLeaseMetrics(t)
|
|
}
|
|
|
|
func TestLoadConfigDir(t *testing.T) {
|
|
testLoadConfigDir(t)
|
|
}
|
|
|
|
func TestConfig_Sanitized(t *testing.T) {
|
|
testConfig_Sanitized(t)
|
|
}
|
|
|
|
func TestParseListeners(t *testing.T) {
|
|
testParseListeners(t)
|
|
}
|
|
|
|
func TestParseUserLockouts(t *testing.T) {
|
|
testParseUserLockouts(t)
|
|
}
|
|
|
|
func TestParseSockaddrTemplate(t *testing.T) {
|
|
testParseSockaddrTemplate(t)
|
|
}
|
|
|
|
func TestConfigRaftRetryJoin(t *testing.T) {
|
|
testConfigRaftRetryJoin(t)
|
|
}
|
|
|
|
func TestParseSeals(t *testing.T) {
|
|
testParseSeals(t)
|
|
}
|
|
|
|
func TestParseStorage(t *testing.T) {
|
|
testParseStorageTemplate(t)
|
|
}
|
|
|
|
func TestUnknownFieldValidation(t *testing.T) {
|
|
testUnknownFieldValidation(t)
|
|
}
|
|
|
|
func TestUnknownFieldValidationJson(t *testing.T) {
|
|
testUnknownFieldValidationJson(t)
|
|
}
|
|
|
|
func TestUnknownFieldValidationHcl(t *testing.T) {
|
|
testUnknownFieldValidationHcl(t)
|
|
}
|
|
|
|
func TestUnknownFieldValidationListenerAndStorage(t *testing.T) {
|
|
testUnknownFieldValidationStorageAndListener(t)
|
|
}
|