| 1021 | UnitTests |
| 1022 | }; |
| 1023 | struct CLIOptions { |
| 1024 | std::string commandLine; |
| 1025 | std::string fileSystemPath, dataFolder, connFile, seedConnFile, seedConnString, |
| 1026 | logFolder = ".", metricsConnFile, metricsPrefix, newClusterKey, authzPublicKeyFile; |
| 1027 | std::string logGroup = "default"; |
| 1028 | uint64_t rollsize = TRACE_DEFAULT_ROLL_SIZE; |
| 1029 | uint64_t maxLogsSize = TRACE_DEFAULT_MAX_LOGS_SIZE; |
| 1030 | bool maxLogsSizeSet = false; |
| 1031 | int maxLogs = 0; |
| 1032 | bool maxLogsSet = false; |
| 1033 | |
| 1034 | ServerRole role = ServerRole::FDBD; |
| 1035 | uint32_t randomSeed = platform::getRandomSeed(); |
| 1036 | |
| 1037 | const char* testFile = "tests/default.txt"; |
| 1038 | std::string kvFile; |
| 1039 | std::string testServersStr; |
| 1040 | std::string whitelistBinPaths; |
| 1041 | |
| 1042 | std::vector<std::string> publicAddressStrs, listenAddressStrs; |
| 1043 | NetworkAddressList publicAddresses, listenAddresses; |
| 1044 | |
| 1045 | const char* targetKey = nullptr; |
| 1046 | uint64_t memLimit = |
| 1047 | 8LL << 30; // Nice to maintain the same default value for memLimit and SERVER_KNOBS->SERVER_MEM_LIMIT and |
| 1048 | // SERVER_KNOBS->COMMIT_BATCHES_MEM_BYTES_HARD_LIMIT |
| 1049 | uint64_t virtualMemLimit = 0; // unlimited |
| 1050 | uint64_t storageMemLimit = 1LL << 30; |
| 1051 | bool buggifyEnabled = false, faultInjectionEnabled = true, restarting = false; |
| 1052 | Optional<Standalone<StringRef>> zoneId; |
| 1053 | Optional<Standalone<StringRef>> dcId; |
| 1054 | ProcessClass processClass = ProcessClass(ProcessClass::UnsetClass, ProcessClass::CommandLineSource); |
| 1055 | bool useNet2 = true; |
| 1056 | bool useThreadPool = false; |
| 1057 | std::vector<std::pair<std::string, std::string>> knobs; |
| 1058 | std::map<std::string, std::string> manualKnobOverrides; |
| 1059 | LocalityData localities; |
| 1060 | int minTesterCount = 1; |
| 1061 | bool testOnServers = false; |
| 1062 | |
| 1063 | TLSConfig tlsConfig = TLSConfig(TLSEndpointType::SERVER); |
| 1064 | double fileIoTimeout = 0.0; |
| 1065 | bool fileIoWarnOnly = false; |
| 1066 | uint64_t rsssize = -1; |
| 1067 | std::vector<std::string> blobCredentials; // used for fast restore workers & backup workers |
| 1068 | const char* blobCredsFromENV = nullptr; |
| 1069 | |
| 1070 | std::string configPath; |
| 1071 | ConfigDBType configDBType{ ConfigDBType::DISABLED }; |
| 1072 | |
| 1073 | Reference<IClusterConnectionRecord> connectionFile; |
| 1074 | Standalone<StringRef> machineId; |
| 1075 | UnitTestParameters testParams; |
| 1076 | |
| 1077 | std::map<std::string, std::string> profilerConfig; |
| 1078 | std::string flowProcessName; |
| 1079 | Endpoint flowProcessEndpoint; |
| 1080 | bool printSimTime = false; |
nothing calls this directly
no test coverage detected