aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/subchannel_index.h
diff options
context:
space:
mode:
authorGravatar Juanli Shen <juanlishen@google.com>2018-09-07 14:21:41 -0700
committerGravatar Juanli Shen <juanlishen@google.com>2018-09-07 15:06:32 -0700
commitbf53d1c8803b2b43bfb1756ce1c7f85326342418 (patch)
treecf42810527e7411d02f40af5221a4b3e6483efc9 /src/core/ext/filters/client_channel/subchannel_index.h
parent3c1a3d9f1b4c8ac573c0234f71534fd74cf2ec4b (diff)
Fix subchannel key comparison
Diffstat (limited to 'src/core/ext/filters/client_channel/subchannel_index.h')
-rw-r--r--src/core/ext/filters/client_channel/subchannel_index.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/ext/filters/client_channel/subchannel_index.h b/src/core/ext/filters/client_channel/subchannel_index.h
index a7dae9d47d..c135613d26 100644
--- a/src/core/ext/filters/client_channel/subchannel_index.h
+++ b/src/core/ext/filters/client_channel/subchannel_index.h
@@ -65,13 +65,10 @@ void grpc_subchannel_index_ref(void);
void grpc_subchannel_index_unref(void);
/** \em TEST ONLY.
- * If \a force_creation is true, all key comparisons will be false, resulting in
+ * If \a force_creation is true, all keys are regarded different, resulting in
* new subchannels always being created. Otherwise, the keys will be compared as
* usual.
*
- * This function is *not* threadsafe on purpose: it should *only* be used in
- * test code.
- *
* Tests using this function \em MUST run tests with and without \a
* force_creation set. */
void grpc_subchannel_index_test_only_set_force_creation(bool force_creation);