[SERVER-71980] Robustify external data source-related unittest suites Created: 08/Dec/22 Updated: 29/Oct/23 Resolved: 23/Jan/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yoon Soo Kim | Assignee: | Yoon Soo Kim |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.2
|
||||||||
| Sprint: | QE 2022-12-12, QE 2022-12-26 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 51 | ||||||||
| Description |
|
Currently ExternalRecordStoreTest::NamedPipeMultiplePipes4 test case is creating 100 threads and looking at various test agent logs and core dump stack traces at the time of timeout error, it looks like 100 threads is too much for some of small test machines. If writer threads can't be created, named pipes can't be created and the test thread waits for all writer threads to be created, which can't be satisfied due to thread resource limit. It's a self deadlock situation. Reduce the number of threads for the test case. Reducing the number of threads makes sense, considering the test suite is unit test which should not require too much resources. |
| Comments |
| Comment by Githook User [ 12/Dec/22 ] |
|
Author: {'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}Message: |