Skip to content

Add fork tests as Python unit tests#16513

Merged
ericgribkoff merged 2 commits intogrpc:masterfrom
ericgribkoff:python_unit_fork_tests
Feb 16, 2019
Merged

Add fork tests as Python unit tests#16513
ericgribkoff merged 2 commits intogrpc:masterfrom
ericgribkoff:python_unit_fork_tests

Conversation

@ericgribkoff
Copy link
Copy Markdown
Contributor

@ericgribkoff ericgribkoff commented Aug 30, 2018

This includes the fork interop test cases as part of the Python unit test suite. The test pre-fork a local test interop server, and set the polling strategy to epoll1 on Linux and poll on Mac.

@ericgribkoff ericgribkoff added disposition/DO NOT MERGE release notes: no Indicates if PR should not be in release notes lang/Python labels Aug 30, 2018
@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,754      Total (>)     10,843,745

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,757      Total (>)     10,843,747

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,755      Total (<)     10,843,757

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,752      Total (>)     10,843,747

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,760      Total (>)     10,843,752

 No significant differences in binary sizes


@ericgribkoff ericgribkoff force-pushed the python_unit_fork_tests branch 3 times, most recently from d902421 to 828af73 Compare August 30, 2018 22:05
@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,755      Total (>)     10,843,749

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,752      Total (>)     10,843,750

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,754      Total (>)     10,843,751

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,757      Total (>)     10,843,748

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,755      Total (>)     10,843,752

 No significant differences in binary sizes


@grpc-testing
Copy link
Copy Markdown

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,026      Total (=)      1,955,026

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,843,755      Total (>)     10,843,749

 No significant differences in binary sizes


@ericgribkoff
Copy link
Copy Markdown
Contributor Author

@gnossen PTAL. The changes to core in the first commit can be ignored; it is under separate review at #17973

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, no. Fixed.

@ericgribkoff ericgribkoff force-pushed the python_unit_fork_tests branch from 6e2e39e to 2ea6d3e Compare February 15, 2019 17:51
@ericgribkoff
Copy link
Copy Markdown
Contributor Author

@gnossen This should be (finally...) ready for review. I filed #18075 to track the issues with 3.7, and for now these tests will only run on Python 2 - but this is far better than nothing, as it would have caught the fork-support breakage fixed-after-the-fact by #17973 and does catch a breakage in the in-progress #17308.

@ericgribkoff ericgribkoff merged commit b794777 into grpc:master Feb 16, 2019
@ericgribkoff ericgribkoff deleted the python_unit_fork_tests branch February 16, 2019 02:31
@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lang/Python release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants