mirror of https://github.com/grpc/grpc.git
[xds_client_fuzzer] fix bug in fake transport (#33115)
Fixes `FakeXdsTransport` to remove itself from the map in `FakeXdsTransportFactory` when it gets orphaned by the `XdsClient`, so that a subsequent creation of a new transport for the same server does not trigger an assertion due to the transport already existing in the map. Fixes internal b/259362837.pull/33122/head
parent
66d9f52fbd
commit
13133ae703
3 changed files with 44 additions and 4 deletions
@ -0,0 +1,26 @@ |
||||
bootstrap: "{\"xds_servers\": [{\"server_uri\":\"xds.example.com:443\", \"channel_creds\":[{\"type\": \"fake\"}]}]}" |
||||
actions { |
||||
start_watch { |
||||
resource_type { |
||||
route_config { |
||||
} |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
stop_watch { |
||||
resource_type { |
||||
route_config { |
||||
} |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
start_watch { |
||||
resource_type { |
||||
route_config { |
||||
} |
||||
} |
||||
resource_name: "{\"xds_servers\": [\203\2600\027erver_uri\":\"xds\013.example.com:443\", \"channel_creds\":[{\"type\": \"fake\"}]}]}" |
||||
} |
||||
} |
Loading…
Reference in new issue