|
|
|
@ -105,14 +105,16 @@ constexpr int kDefaultLocalityPriority = 0; |
|
|
|
|
|
|
|
|
|
constexpr char kBootstrapFile[] = |
|
|
|
|
"{\n" |
|
|
|
|
" \"xds_server\": {\n" |
|
|
|
|
" \"server_uri\": \"fake:///lb\",\n" |
|
|
|
|
" \"channel_creds\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"type\": \"fake\"\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ]\n" |
|
|
|
|
" },\n" |
|
|
|
|
" \"xds_servers\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"server_uri\": \"fake:///lb\",\n" |
|
|
|
|
" \"channel_creds\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"type\": \"fake\"\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ]\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ],\n" |
|
|
|
|
" \"node\": {\n" |
|
|
|
|
" \"id\": \"xds_end2end_test\",\n" |
|
|
|
|
" \"cluster\": \"test\",\n" |
|
|
|
@ -129,14 +131,16 @@ constexpr char kBootstrapFile[] = |
|
|
|
|
|
|
|
|
|
constexpr char kBootstrapFileBad[] = |
|
|
|
|
"{\n" |
|
|
|
|
" \"xds_server\": {\n" |
|
|
|
|
" \"server_uri\": \"fake:///wrong_lb\",\n" |
|
|
|
|
" \"channel_creds\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"type\": \"fake\"\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ]\n" |
|
|
|
|
" },\n" |
|
|
|
|
" \"xds_servers\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"server_uri\": \"fake:///wrong_lb\",\n" |
|
|
|
|
" \"channel_creds\": [\n" |
|
|
|
|
" {\n" |
|
|
|
|
" \"type\": \"fake\"\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ]\n" |
|
|
|
|
" }\n" |
|
|
|
|
" ],\n" |
|
|
|
|
" \"node\": {\n" |
|
|
|
|
" }\n" |
|
|
|
|
"}\n"; |
|
|
|
|