[ 
https://issues.apache.org/jira/browse/GEODE-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468747#comment-17468747
 ] 

ASF subversion and git services commented on GEODE-9911:
--------------------------------------------------------

Commit 237d3acd6e91c40882a33b1b6763f55f3fe1f02d in geode's branch 
refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=237d3ac ]

GEODE-9911: Allow ExecutorServiceRule to name threads (#7231)

- This can be used in tests to create custom named executor threads. For
  example, something like:
  ```
  @Rule
  public ExecutorServiceRule executor = new ExecutorServiceRule()
      .withThreadNameFunction((p, t) -> "CUSTOMNAME-pool-%d-thread-%d");
  ```



> Allow ExecutorServiceRule to name threads
> -----------------------------------------
>
>                 Key: GEODE-9911
>                 URL: https://issues.apache.org/jira/browse/GEODE-9911
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>
> In some situations it may be useful to name the threads created by the 
> {{{}ExecutorServiceRule{}}}. These would appear in log files and be helpful 
> in debugging.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to