Masood Malekghassemi
3b5b20682b
Make running individual Python tests less painful
...
Before this change, running Python tests individually required
building a tox environment via the run_tests script and then specifying
long environment variables to filter out just the test we wanted to run
(and then we wouldn't be able to get the output on interrupt, nor would
we have an easy way of determining the PID of the process for debugger
attachment). Now invoking the build_python.sh script creates a workable
python virtual environment that includes all necessary libraries and
tests (s.t. running a single test is now possible by just knowing the
module name). This does not change existing supported means of running
tests (e.g. through run_tests.py).
An additional way of running individual tests has been introduced.
Following invocation of `./tools/run_tests/build_python.sh` (or
run_tests.py), one may invoke
./$VENV/bin/python -m $TEST_MODULE_NAME
and acquire a single running process that *is* the test process (rather
than a parent of the process). $VENV is the virtual environment name
specified to `build_python.sh` (defaults to `py27`) and
$TEST_MODULE_NAME is what it says on the tin.
9 years ago
murgatroid99
014675652c
Fix bug with override_server flag in run_interop_tests.py
9 years ago
Jan Tattermusch
9fc079fddd
enable client compression interop tests for C#
9 years ago
David Garcia Quintas
396f9435d5
added freaking missing comma
9 years ago
David Garcia Quintas
ff32a86482
updated the interop tests driver
9 years ago
Stanley Cheung
83d8e3740e
php: run advanced interop tests
9 years ago
Ken Payson
22a65e1a2b
Added python jwt_token_creds interop test
9 years ago
Ken Payson
60a83c744b
Added google call creds/per_rpc interop tests
9 years ago
David Garcia Quintas
303d3082a0
Fixed compression interop and re-enable for C++.
...
Also added some defense in depth for compression algorithms in the
receive path.
9 years ago
Jan Tattermusch
9835d4b1f7
update locations of dockerization scripts
9 years ago
Jan Tattermusch
85a93831dd
run all implemented C# interop tests
9 years ago
Ken Payson
707c9e29e0
Changed python proto build to use shared protos
9 years ago
murgatroid99
e621f13ecd
Simplified ruby interop test files
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Adele Zhou
2480f98e19
Add a script to run interop tests against all versions of prod servers.
9 years ago
Jan Tattermusch
19f703dbb7
increase timeout for interop tests
9 years ago
murgatroid99
090a251ea5
Node: fix metadata validation bug, improve error reporting
9 years ago
Stanley Cheung
d82efd877c
use HOME env var
9 years ago
Stanley Cheung
31cb866821
the host file path to the auth.json file has changed
9 years ago
Adele Zhou
b9e66cc551
Added test cases for Cloud gateway.
9 years ago
Nathaniel Manista
cbf21da6e4
/usr/bin/env python -> /usr/bin/env python2.7
9 years ago
Adele Zhou
83576babef
Update interop test service url to grpc-test.sandbox.googleapis.com.
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
40809210d4
Update copyrights
9 years ago
Masood Malekghassemi
ccc1610b95
Use tox commands to run interop client/server
9 years ago
Masood Malekghassemi
116982ea89
Include core in Python distribution
9 years ago
murgatroid99
c3910cadb4
Expose core metadata validation functions in public headers
9 years ago
Jan Tattermusch
a6b2c4ce46
Get rid of SSL_CERT_FILE env entirely
9 years ago
Jan Tattermusch
a86b41e746
Temporarily disable c# status_code_and_message client.
9 years ago
Jan Tattermusch
5c7a1c861f
teach interop script about new tests
9 years ago
Carl Mastrangelo
e7f8e8ecaf
Make pretty interop tets output graphs
9 years ago
Masood Malekghassemi
eaa7d203b5
Fix interop Python test invocation
...
The ideal fix would be to have a tox test command for running the
interop server and client.
9 years ago
Carl Mastrangelo
3c7862478d
Make http2 interop tests always pass, and instead give a report
9 years ago
Masood Malekghassemi
0a9cc3cf10
Fix Python interop test invocation in run_interop_tests.py
9 years ago
Masood Malekghassemi
7566c9a85d
Make Python testing predictable again
...
This reorganizes the Python code, scraps the current testing
infrastructure, and implements a simple test discovery and run script
based on the standard Python unittest library so we can trust that our
tests are running.
9 years ago
Carl Mastrangelo
2d248a29f7
Fix stdin on run_interop_tests
9 years ago
Carl Mastrangelo
59096b4044
fix flag
9 years ago
Carl Mastrangelo
2dd55db4c1
Add framing http2 test case, enable verbose output, and properly skip tests
9 years ago
Adele Zhou
3bc7ba4d95
Use mako template for HTML report.
9 years ago
Carl Mastrangelo
3b2e1bd243
Enable interop tests for http2
9 years ago
Carl Mastrangelo
de4491076f
Add HTTP/2 Interop tests to be run
9 years ago
Adele Zhou
a30f829e62
Renamed report_utils.py.
9 years ago
Adele Zhou
2271ab5aea
Create a separate utility for reporting.
9 years ago
Adele Zhou
4671096736
Escape quotation marks in html.
9 years ago
Adele Zhou
d5fffa5850
Print detailed results for each test.
9 years ago
Carl Mastrangelo
7a17140bda
s/exit/sys.exit/
9 years ago
Jan Tattermusch
29fd00567e
adjust paralellism and timeouts
9 years ago
Jan Tattermusch
39e3cb3a38
prevent container name reuse error for timeout flakes
9 years ago
Adele Zhou
51b6eaeb5f
Add an indicator for server and client languages.
9 years ago
Jan Tattermusch
bfbd038ab1
correctly display auth interop tests in HTML report
9 years ago