File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -309,14 +309,14 @@ KJ_TEST("Calling IPC method, disconnecting and blocking during the call")
309309 signal.set_value ();
310310}
311311
312- KJ_TEST (" Make simultaneous IPC callbacks with same request_thread and callback_thread " )
312+ KJ_TEST (" Make simultaneous IPC calls to trigger 'thread busy' error " )
313313{
314314 TestSetup setup;
315315 ProxyClient<messages::FooInterface>* foo = setup.client .get ();
316316 std::promise<void > signal;
317317
318318 foo->initThreadMap ();
319- // Use callFnAsync() to get the client to setup the request_thread
319+ // Use callFnAsync() to get the client to set up the request_thread
320320 // that will be used for the test.
321321 setup.server ->m_impl ->m_fn = [&] {};
322322 foo->callFnAsync ();
@@ -341,7 +341,7 @@ KJ_TEST("Make simultaneous IPC callbacks with same request_thread and callback_t
341341
342342 auto client{foo->m_client };
343343 bool caught_thread_busy = false ;
344- // NOTE: '3' was choosen because it was the lowest number
344+ // NOTE: '3' was chosen because it was the lowest number
345345 // of simultaneous calls required to reliably catch a "thread busy" error
346346 std::atomic<size_t > running{3 };
347347 foo->m_context .loop ->sync ([&]
You can’t perform that action at this time.
0 commit comments