gh-82054: Implements test.regrtest unittest sharding to pull in long tails by gpshead · Pull Request #99637 · python/cpython · GitHub

github.com

Tin mới

gpshead:performance/test-sharding

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

https://github.com/abseil/abseil-py/blob/v1.3.0/absl/testing/absltest.py#L2359

Currently a draft demonstration, this incomplete implementation has details to be worked out, but it works! It makes long tail tests take significantly less wall time on many core systems.

unittest: execute tests in parallel #82054

Demonstrate test.regrtest unittest sharding.

awaiting core review

awaiting core review

🔨 test-with-buildbots

🔨 test-with-buildbots

minor tweaks: unshard test_tools, shard on -j 2

Merge branch 'main' into performance/test-sharding

add test_xmlrpc to the shard list.

libregrtest: add option to run every test case in separate process #109817

⌂git
1/1