sdk_test: draft in progress
[src/xds/xds-server.git] / test / config.go
similarity index 68%
rename from test/test_config.go
rename to test/config.go
index a182dd5..8fea851 100644 (file)
  * 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"
+)