Chris Evans
ed2a5470db
Calculate RPC deadline right before call creation
...
Most core end2end tests are written around a single RPC with an explicit
deadline. Currently, this deadline is calculated before bringing up the
test fixture, and thus time spent bringing up the test fixture is taken
from the time allotted to the RPC.
This change moves the calculation of these deadlines immediately before
call creation. Additionally, the functions that calculate these
deadlines have been renamed from 'xx_seconds_time()' to
'xx_seconds_from_now()' for clarity.
8 years ago
Craig Tiller
a044424430
clang-format
8 years ago
Craig Tiller
dced510997
Fix arena_test on 32-bit platforms (includes Windows)
8 years ago
Craig Tiller
3eeba6de6b
Increase grace time
8 years ago
Craig Tiller
9d6f04d519
Increase grace period: 300ms is way too short in our test environments
8 years ago
Craig Tiller
9eb0fdec00
Reorganize ext tree
...
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
8 years ago
Craig Tiller
e1b51dafb6
clang-format
8 years ago
Craig Tiller
a0f3abd925
Review feedback: bikeshedding round
8 years ago
Craig Tiller
c1d438154b
Use timeout inflation to account for differences between sanitizers
8 years ago
David Garcia Quintas
228a5142c1
Don't assert over invalid channel args
8 years ago
Yuchen Zeng
ea2b439bc4
Verify shutdown time in max_connection_age test
8 years ago
David Garcia Quintas
fde5dbb681
Fixed oss-fuzz/961
8 years ago
Craig Tiller
0d32f2f030
Fix build files
8 years ago
Craig Tiller
29b527fa30
Reinstate one check, fix fall out
8 years ago
yang-g
07429fa9a6
Update time_cmp to ignore tv_nsec when tv_sec is INT64 MAX or MIN
8 years ago
Craig Tiller
d51bbeb1eb
Fix leak
8 years ago
Yuchen Zeng
ca6dab39d6
Change the unit to ms, clean up
8 years ago
Yuchen Zeng
3835d13788
Fix the test condition for max_connection_idle test
8 years ago
yang-g
aab6992c00
Remove call from sibling list when it is not first child.
8 years ago
Craig Tiller
730ddc2758
Sanity fixes
8 years ago
Yuchen Zeng
b2caafc911
Add max_connection_idle test
8 years ago
Yuchen Zeng
7dc3629a7d
Fix use-after-free issue
8 years ago
yang-g
1aba869e9e
Make convert clock_type consistent with add/sub when dealing with extreme values
8 years ago
Yuchen Zeng
22321fc7e5
Add max_connection_age end2end test
8 years ago
Craig Tiller
b29f1fe3a2
Update include paths
8 years ago
yang-g
fdd908b01a
Clamp memory usage estimate
8 years ago
ncteisen
7cd4f6890b
Add fuzzer bug
8 years ago
Yuchen Zeng
44264d5973
Add client_ prefix for keepalive args
8 years ago
Yuchen Zeng
3d43da7b4b
Change keepalive arguments, add grpc_set_disable_ping_ack
8 years ago
Craig Tiller
0b4c531805
Add tracing, fix off-by-one error
8 years ago
Michael Warres
c46b3ebeb9
Add socket factory support to udp_server.c
8 years ago
Craig Tiller
878a7c2a09
Memory usage tweaks
...
- Improve estimation to give a more reliable slop space in the arena
- Improve measurement by issuing sufficient throw-away calls on a channel to allow call size estimation to settle
8 years ago
Yuchen Zeng
c88fd35f97
Add reproduction
8 years ago
Mark D. Roth
d86d7424a0
Remove BUILD rule for removed test.
8 years ago
Craig Tiller
ca3154d7c8
Make repro more repro-able
8 years ago
Craig Tiller
78058b71aa
Make repro more repro-able
8 years ago
Craig Tiller
0d033b51ce
Test exposing TSAN race
...
Isolated to ev_epoll_linux code
Run with (on Linux):
```
tools/run_tests/run_tests.py -l c -c tsan -r ev_epoll -n inf -S --force_default_poller
```
8 years ago
Craig Tiller
7b2dd93362
Track milliseconds since process start in timer heap
...
Allows reducing a lock-then-check to an atomic load and check on the
fast path of timer checks.
Reduces locks per RPC by about 5.
8 years ago
Robbie Shade
1f8342933f
Add test feature flags
8 years ago
Noah Eisen
3005ce8dda
Only use static on string literals
8 years ago
Michael Warres
456ddd83df
Remove grpc_udp_server dependency on grpc_server.
8 years ago
Craig Tiller
fb9d112043
Review comments
8 years ago
ncteisen
4b36a3d9ea
Change error_create API to slice
8 years ago
Craig Tiller
d426caca81
Use an arena for call & subchannel_call allocation
8 years ago
Craig Tiller
37723c9ee0
Fix race condition
8 years ago
Craig Tiller
0dd81003b5
Concurrent test
8 years ago
Craig Tiller
9202b3fdfd
Arena allocator for grpc
8 years ago
ncteisen
bbb3801e48
Change error get/set API to grpc_slice
8 years ago
Craig Tiller
75a41b4532
Hide memory counters from atomic counters
8 years ago
Craig Tiller
7e43bfa1fa
Fix fuzzing detected error
8 years ago