X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fconfig.go;fp=test%2Ftest_config.go;h=8fea851e34c5ebebd299029d0ebe5018f5e9eee3;hb=4edc85706942a10085947ef457fca9e4f209a21a;hp=a182dd5a8da7f4bfb0946ebb45e3cee87d88c693;hpb=b286ced30a859e2238d13450d61ea0110a53b8a9;p=src%2Fxds%2Fxds-server.git diff --git a/test/test_config.go b/test/config.go similarity index 68% rename from test/test_config.go rename to test/config.go index a182dd5..8fea851 100644 --- a/test/test_config.go +++ b/test/config.go @@ -14,11 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package xdsservertest var argsProcess = []string{"../bin/xds-server", "-l", "debug", "-c", "_test-config.json"} -const envRootCfgDir = "XDS_SERVER_ROOT_CFG_DIR" -const prefixURL = "http://localhost:8000" -const logFileXdsServer = "xdsserver-test.log" -const logFileClient = "client-test.log" +const ( + envRootCfgDir = "XDS_SERVER_ROOT_CFG_DIR" + prefixURL = "http://localhost:8000" + logFileXdsServer = "xdsserver-test.log" + logFileClient = "client-test.log" + envXdtSdk = "XDT_SDK" + envXdsServerWorkspaceDir = "XDS_SERVER_WORKSPACE_DIR" + envXdsServerRootCfgDir = "XDS_SERVER_ROOT_CFG_DIR" +)