-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call_python: Rewrite test in Python #8699
call_python: Rewrite test in Python #8699
Conversation
+@jamiesnape for feature review, please. Review status: 0 of 4 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
f31af54
to
b408eb1
Compare
b408eb1
to
a763b09
Compare
I would be surprised if it fixes the flakiness, but certainly an improvement. Reviewed 5 of 6 files at r1. common/proto/BUILD.bazel, line 149 at r1 (raw file):
We typically use common/proto/BUILD.bazel, line 152 at r1 (raw file):
I think we keep the flaky until proven otherwise. This is a fairly faithful reproduction of the shell test. common/proto/test/call_python_test.py, line 31 at r1 (raw file):
Not sure I understand the comment, nor its relevance to the code. Aside, you are looking for the common/proto/test/call_python_test.py, line 34 at r1 (raw file):
As far as I can tell the common/proto/test/call_python_test.py, line 44 at r1 (raw file):
Can we have positive variable name? Also the comment does not add any useful information since the purpose of the variable is self-evident. common/proto/test/call_python_test.py, line 99 at r1 (raw file):
Why twice? common/proto/test/call_python_test.py, line 101 at r1 (raw file):
common/proto/test/call_python_test.py, line 104 at r1 (raw file):
I think Comments from Reviewable |
6f8d154
to
9bd00a9
Compare
9bd00a9
to
6da062c
Compare
+@sammy-tri for platform review, please. Review status: 2 of 4 files reviewed at latest revision, 8 unresolved discussions. common/proto/BUILD.bazel, line 149 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/BUILD.bazel, line 152 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 31 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 34 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 44 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 99 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 101 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. common/proto/test/call_python_test.py, line 104 at r1 (raw file): Previously, jamiesnape (Jamie Snape) wrote…
Done. Comments from Reviewable |
@drake-jenkins-bot mac-highsierra-clang-bazel-experimental please. |
Reviewed 2 of 2 files at r2. Comments from Reviewable |
Optional builds all passed. |
Reviewed 3 of 6 files at r1, 2 of 2 files at r2. common/proto/test/call_python_test.py, line 50 at r2 (raw file):
I'm having trouble figuring out what this assert is guarding inside the while loop. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. common/proto/test/call_python_test.py, line 50 at r2 (raw file): Previously, sammy-tri (Sam Creasey) wrote…
OK to prevent against a rogue write, or a stale written state. It's already kinda taken care of by the other machinery, so I can remove it. Would you like me to remove it? Comments from Reviewable |
6da062c
to
672babf
Compare
Review status: all files reviewed at latest revision, 1 unresolved discussion. common/proto/test/call_python_test.py, line 50 at r2 (raw file): Previously, EricCousineau-TRI (Eric Cousineau) wrote…
Done. Removed. Comments from Reviewable |
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Resolves #7703
Given that this test is failing more frequently in CI, will see if this resolves some of the sticking points.
\cc @jwnimmer-tri
This change is