crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
3bbc0e65
ROOT
/
go
/
performance
/
utils
/
sysbench_runner
/
config.go
Search
History
504 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Dolt
:
ServerType
MySql
:
ServerType
CsvFormat
JsonFormat
CsvExt
JsonExt
defaultHost
defaultPort
defaultSocket
tcpProtocol
unixProtocol
sysbenchUserLocal
sysbenchPassLocal
ErrTestNameNotDefined
ErrNoServersDefined
ErrUnsupportedConnectionProtocol
defaultSysbenchParams
defaultDoltServerParams
defaultMysqlServerParams
defaultSysbenchTests
ServerType
Test
id
:
string
Name
:
string
Params
:
[]string
FromScript
:
bool
withCommand
(params []string, command string)
:
[]string
ConfigTest
Name
:
string
N
:
int
Options
:
[]string
FromScript
:
bool
NewConfigTest
(name string, opts []string, fromScript bool)
:
*ConfigTest
fromConfigTestParams
(ct *ConfigTest, serverConfig *ServerConfig)
:
[]string
ServerConfig
Id
:
string
Host
:
string
Port
:
int
Server
:
ServerType
Version
:
string
ResultsFormat
:
string
ServerExec
:
string
ServerArgs
:
[]string
ConnectionProtocol
:
string
Socket
:
string
Config
Runs
:
int
RuntimeOS
:
string
RuntimeGoArch
:
string
Servers
:
[]*ServerConfig
Tests
:
[]*ConfigTest
TestOptions
:
[]string
ScriptDir
:
string
InitBigRepo
:
bool
NomsBinFormat
:
string
NewConfig
()
:
*Config
ValidateRequiredFields
(server, version, format string)
:
error
CheckUpdatePortMap
(serverConfig *ServerConfig, portMap map[int]ServerType)
:
(map[int]ServerType, error)
CheckExec
(serverConfig *ServerConfig)
:
error
CheckProtocol
(protocol string)
:
error
GetTests
(config *Config, serverConfig *ServerConfig, testIdFunc func() string)
:
([]*Test, error)
FromFileConfig
(configPath string)
:
(*Config, error)
getMustSupplyError
(name string)
:
error
getDefaultTests
(config *Config)
:
([]*ConfigTest, error)
getLuaScriptTestsFromDir
(dir string)
:
([]*ConfigTest, error)
*Test
Prepare
()
:
[]string
Run
()
:
[]string
Cleanup
()
:
[]string
*ConfigTest
GetTests
(serverConfig *ServerConfig, testIdFunc func() string)
:
([]*Test, error)
*ServerConfig
GetId
()
:
string
GetServerArgs
()
:
[]string
*Config
Validate
()
:
error
validateServerConfigs
()
:
error
setDefaults
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover