Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
10 years ago
Craig Tiller
1a138c34ed
Dont add new requests when shutting down
10 years ago
Craig Tiller
479f2b25fb
Speed up test, reduce flakiness
10 years ago
Nathaniel Manista
a60a77b63f
Update Python codegen to early_adopter interface
...
With this change the Python code generated by the Python code generator
uses the grpc.early_adopter package and not the grpc.framework.face
package.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec
.
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
10 years ago
Craig Tiller
f5065c5b65
Enable asan for C core
...
Also speed up a test, and disable some rarely touched but long running tests
10 years ago
Craig Tiller
3486f32686
Fix comment
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
Craig Tiller
8451e87ced
Extend timeouts for Travis 2x
10 years ago
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
10 years ago
Craig Tiller
f6901be8cd
Allow machine and build type tuning of slowdown
10 years ago
Craig Tiller
7b5eb7193c
Increment 'try' variable
...
To ensure that we actually probe different ports
10 years ago
vjpai
cd801c8531
<:: -> < ::
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
Craig Tiller
73509a5d53
Better port picker
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Nathaniel Manista
732cf09a93
Drop fixed port from python_plugin_test
...
There may be some aspect of mortal sin in the way that context
management is now done in this test.
10 years ago
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Masood Malekghassemi
40e8cbd1ee
Fix bugs in Python code generator
...
Fixes module path finding in the Python code generator and the signatures
of generated servicer methods.
10 years ago
Craig Tiller
e2d795a27b
Fix max_concurrent_streams test
10 years ago
David Klempner
57c0061d78
Deflake dualstack socket test
...
The test currently allocates a single port and reuses it through the
test. Given the timeouts in this test this leaves substantial race
windows where other processes on the same machine could steal the port
between subcases.
Instead, as a simple hack, allocate a new port before each test.
10 years ago
Craig Tiller
deb49dd1aa
Strip port in peer name check
...
This string comes from an authority field, which is allowed to contain a
':' port (see https://tools.ietf.org/html/rfc3986#section-3.2 ).
We need to strip it before performing host name verification.
10 years ago
Craig Tiller
c1f1162787
Drastic speed up
10 years ago
Craig Tiller
4b5c4dbbb8
Drastic speed up
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Masood Malekghassemi
59d9ff4d9f
Updated Python protoc plugin testing.
10 years ago
Julien Boeuf
9fff77e4f8
Addressing comments.
10 years ago
Julien Boeuf
597a4f2273
Verifying the peer name on the X509 Certs correctly.
...
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
the SANs. Will fix the test cert another time...
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Julien Boeuf
c66f2a816e
Addressing iniitial feedback.
...
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
- Adding Cpp wrapping for JWT Tokens.
- Renaming ComposeCredentials -> CompositeCredentials.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Nicolas Noble
a7b8b69d23
Addressing security concerns.
...
-) 0x7f (Backspace) isn't a printable character.
-) use sizeof(var) instead of sizeof(type).
10 years ago
Julien Boeuf
cd9b1c850d
Added support for default credentials.
...
- Tested with new tool (print_default_creds_token) on:
- workstation for env var and well known place.
- GCE for compute engine default creds.
- I'd prefer the grpc_default_credentials_create() API to remain
synchronous even though there may be an async call for gce detection
on which we block.
10 years ago
Craig Tiller
fe8af4e2e9
Rename interop_test.c --> interop_test.cc
...
We have many assumptions about languages baked into the test system, and we want this test harness to trigger when testing C++ stuff, so it needs to be written in C++.
10 years ago
Masood Malekghassemi
b13673dd7a
Added compiler plugin test for Python.
10 years ago
Craig Tiller
2f3e2ec865
Make interop server respond to sigint
...
This will allow the test to shut down cleanly, and avoid failing.
10 years ago
Yang Gao
bbd67c0499
clean up some internal path and names
10 years ago
vjpai
5b47818d93
Some compilers not happy with <:: and need < :: instead
10 years ago
Craig Tiller
16a6ea6bc0
Ensure interop tests are run as part of run_tests
...
I'm honestly a little shocked this wasn't done previously.
10 years ago
Craig Tiller
54f9a65f1e
32 bit compilation fixes for core
10 years ago
Julien Boeuf
25380de72d
Adding tool for generating JWTs on the command line.
10 years ago
Nicolas "Pixel" Noble
7e80efcb3d
Making the usage of gflags uniform across distributions.
10 years ago
Nicolas "Pixel" Noble
ba6082080c
Fixing gflags' include path.
10 years ago