1resolver_tests_common_zone_name: resolver-tests-version-4.grpctestingexp. 2resolver_component_tests: 3- expected_addrs: 4 - {address: '5.5.5.5:443', is_balancer: false} 5 expected_chosen_service_config: null 6 expected_lb_policy: null 7 record_to_resolve: no-srv-ipv4-single-target 8 records: 9 no-srv-ipv4-single-target: 10 - {TTL: '2100', data: 5.5.5.5, type: A} 11- expected_addrs: 12 - {address: '1.2.3.4:1234', is_balancer: true} 13 expected_chosen_service_config: null 14 expected_lb_policy: null 15 record_to_resolve: srv-ipv4-single-target 16 records: 17 _grpclb._tcp.srv-ipv4-single-target: 18 - {TTL: '2100', data: 0 0 1234 ipv4-single-target, type: SRV} 19 ipv4-single-target: 20 - {TTL: '2100', data: 1.2.3.4, type: A} 21- expected_addrs: 22 - {address: '1.2.3.5:1234', is_balancer: true} 23 - {address: '1.2.3.6:1234', is_balancer: true} 24 - {address: '1.2.3.7:1234', is_balancer: true} 25 expected_chosen_service_config: null 26 expected_lb_policy: null 27 record_to_resolve: srv-ipv4-multi-target 28 records: 29 _grpclb._tcp.srv-ipv4-multi-target: 30 - {TTL: '2100', data: 0 0 1234 ipv4-multi-target, type: SRV} 31 ipv4-multi-target: 32 - {TTL: '2100', data: 1.2.3.5, type: A} 33 - {TTL: '2100', data: 1.2.3.6, type: A} 34 - {TTL: '2100', data: 1.2.3.7, type: A} 35- expected_addrs: 36 - {address: '[2607:f8b0:400a:801::1001]:1234', is_balancer: true} 37 expected_chosen_service_config: null 38 expected_lb_policy: null 39 record_to_resolve: srv-ipv6-single-target 40 records: 41 _grpclb._tcp.srv-ipv6-single-target: 42 - {TTL: '2100', data: 0 0 1234 ipv6-single-target, type: SRV} 43 ipv6-single-target: 44 - {TTL: '2100', data: '2607:f8b0:400a:801::1001', type: AAAA} 45- expected_addrs: 46 - {address: '[2607:f8b0:400a:801::1002]:1234', is_balancer: true} 47 - {address: '[2607:f8b0:400a:801::1003]:1234', is_balancer: true} 48 - {address: '[2607:f8b0:400a:801::1004]:1234', is_balancer: true} 49 expected_chosen_service_config: null 50 expected_lb_policy: null 51 record_to_resolve: srv-ipv6-multi-target 52 records: 53 _grpclb._tcp.srv-ipv6-multi-target: 54 - {TTL: '2100', data: 0 0 1234 ipv6-multi-target, type: SRV} 55 ipv6-multi-target: 56 - {TTL: '2100', data: '2607:f8b0:400a:801::1002', type: AAAA} 57 - {TTL: '2100', data: '2607:f8b0:400a:801::1003', type: AAAA} 58 - {TTL: '2100', data: '2607:f8b0:400a:801::1004', type: AAAA} 59- expected_addrs: 60 - {address: '1.2.3.4:1234', is_balancer: true} 61 expected_chosen_service_config: '{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"SimpleService","waitForReady":true}]}]}' 62 expected_lb_policy: round_robin 63 record_to_resolve: srv-ipv4-simple-service-config 64 records: 65 _grpclb._tcp.srv-ipv4-simple-service-config: 66 - {TTL: '2100', data: 0 0 1234 ipv4-simple-service-config, type: SRV} 67 ipv4-simple-service-config: 68 - {TTL: '2100', data: 1.2.3.4, type: A} 69 _grpc_config.srv-ipv4-simple-service-config: 70 - {TTL: '2100', data: 'grpc_config=[{"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"SimpleService","waitForReady":true}]}]}}]', 71 type: TXT} 72- expected_addrs: 73 - {address: '1.2.3.4:443', is_balancer: false} 74 expected_chosen_service_config: '{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"NoSrvSimpleService","waitForReady":true}]}]}' 75 expected_lb_policy: round_robin 76 record_to_resolve: ipv4-no-srv-simple-service-config 77 records: 78 ipv4-no-srv-simple-service-config: 79 - {TTL: '2100', data: 1.2.3.4, type: A} 80 _grpc_config.ipv4-no-srv-simple-service-config: 81 - {TTL: '2100', data: 'grpc_config=[{"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"NoSrvSimpleService","waitForReady":true}]}]}}]', 82 type: TXT} 83- expected_addrs: 84 - {address: '1.2.3.4:443', is_balancer: false} 85 expected_chosen_service_config: null 86 expected_lb_policy: null 87 record_to_resolve: ipv4-no-config-for-cpp 88 records: 89 ipv4-no-config-for-cpp: 90 - {TTL: '2100', data: 1.2.3.4, type: A} 91 _grpc_config.ipv4-no-config-for-cpp: 92 - {TTL: '2100', data: 'grpc_config=[{"clientLanguage":["python"],"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"PythonService","waitForReady":true}]}]}}]', 93 type: TXT} 94- expected_addrs: 95 - {address: '1.2.3.4:443', is_balancer: false} 96 expected_chosen_service_config: null 97 expected_lb_policy: null 98 record_to_resolve: ipv4-cpp-config-has-zero-percentage 99 records: 100 ipv4-cpp-config-has-zero-percentage: 101 - {TTL: '2100', data: 1.2.3.4, type: A} 102 _grpc_config.ipv4-cpp-config-has-zero-percentage: 103 - {TTL: '2100', data: 'grpc_config=[{"percentage":0,"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"CppService","waitForReady":true}]}]}}]', 104 type: TXT} 105- expected_addrs: 106 - {address: '1.2.3.4:443', is_balancer: false} 107 expected_chosen_service_config: '{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"CppService","waitForReady":true}]}]}' 108 expected_lb_policy: round_robin 109 record_to_resolve: ipv4-second-language-is-cpp 110 records: 111 ipv4-second-language-is-cpp: 112 - {TTL: '2100', data: 1.2.3.4, type: A} 113 _grpc_config.ipv4-second-language-is-cpp: 114 - {TTL: '2100', data: 'grpc_config=[{"clientLanguage":["go"],"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"GoService","waitForReady":true}]}]}},{"clientLanguage":["c++"],"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"CppService","waitForReady":true}]}]}}]', 115 type: TXT} 116- expected_addrs: 117 - {address: '1.2.3.4:443', is_balancer: false} 118 expected_chosen_service_config: '{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"AlwaysPickedService","waitForReady":true}]}]}' 119 expected_lb_policy: round_robin 120 record_to_resolve: ipv4-config-with-percentages 121 records: 122 ipv4-config-with-percentages: 123 - {TTL: '2100', data: 1.2.3.4, type: A} 124 _grpc_config.ipv4-config-with-percentages: 125 - {TTL: '2100', data: 'grpc_config=[{"percentage":0,"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"NeverPickedService","waitForReady":true}]}]}},{"percentage":100,"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"AlwaysPickedService","waitForReady":true}]}]}}]', 126 type: TXT} 127- expected_addrs: 128 - {address: '1.2.3.4:1234', is_balancer: true} 129 - {address: '1.2.3.4:443', is_balancer: false} 130 expected_chosen_service_config: null 131 expected_lb_policy: null 132 record_to_resolve: srv-ipv4-target-has-backend-and-balancer 133 records: 134 _grpclb._tcp.srv-ipv4-target-has-backend-and-balancer: 135 - {TTL: '2100', data: 0 0 1234 balancer-for-ipv4-has-backend-and-balancer, type: SRV} 136 balancer-for-ipv4-has-backend-and-balancer: 137 - {TTL: '2100', data: 1.2.3.4, type: A} 138 srv-ipv4-target-has-backend-and-balancer: 139 - {TTL: '2100', data: 1.2.3.4, type: A} 140- expected_addrs: 141 - {address: '[2607:f8b0:400a:801::1002]:1234', is_balancer: true} 142 - {address: '[2607:f8b0:400a:801::1002]:443', is_balancer: false} 143 expected_chosen_service_config: null 144 expected_lb_policy: null 145 record_to_resolve: srv-ipv6-target-has-backend-and-balancer 146 records: 147 _grpclb._tcp.srv-ipv6-target-has-backend-and-balancer: 148 - {TTL: '2100', data: 0 0 1234 balancer-for-ipv6-has-backend-and-balancer, type: SRV} 149 balancer-for-ipv6-has-backend-and-balancer: 150 - {TTL: '2100', data: '2607:f8b0:400a:801::1002', type: AAAA} 151 srv-ipv6-target-has-backend-and-balancer: 152 - {TTL: '2100', data: '2607:f8b0:400a:801::1002', type: AAAA} 153- expected_addrs: 154 - {address: '1.2.3.4:443', is_balancer: false} 155 expected_chosen_service_config: '{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwo","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooThree","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooFour","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooFive","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooSix","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooSeven","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooEight","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooNine","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTen","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooEleven","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]}]}' 156 expected_lb_policy: null 157 record_to_resolve: ipv4-config-causing-fallback-to-tcp 158 records: 159 ipv4-config-causing-fallback-to-tcp: 160 - {TTL: '2100', data: 1.2.3.4, type: A} 161 _grpc_config.ipv4-config-causing-fallback-to-tcp: 162 - {TTL: '2100', data: 'grpc_config=[{"serviceConfig":{"loadBalancingPolicy":"round_robin","methodConfig":[{"name":[{"method":"Foo","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwo","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooThree","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooFour","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooFive","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooSix","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooSeven","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooEight","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooNine","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTen","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooEleven","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]},{"name":[{"method":"FooTwelve","service":"SimpleService","waitForReady":true}]}]}}]', 163 type: TXT} 164