Craig Tiller
1e27e7d605
Use port server on windows
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Craig Tiller
b933c2cd55
Fix memory leaks
9 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
9 years ago
Craig Tiller
a5af2be964
Fix integration breakage
9 years ago
Craig Tiller
08cea2a907
Fix integration breakage
9 years ago
Craig Tiller
f53d9c8d0d
Testing port server
...
run_tests.py will start a server (if it's not running, or if the running
port server mismatches the 'current' one) that serves ports to use for
tests. The server is left running after run_tests.py finishes, so that
in environments such as Mac and Windows where tests run unshielded from
each other, we don't start jumping on already used ports.
9 years ago
Craig Tiller
7b9ed35a2c
Allow fixtures to specify slowdown factors, use it for grpc_trace tests
9 years ago
yang-g
fc8d8d6a43
add support for detecting spurious outside connection.
9 years ago
yang-g
c9c69e27da
Add reconnect interop test client and server
10 years ago
Craig Tiller
6a7626c98f
Move alarm subsystem to monotonic time
10 years ago
Nicolas "Pixel" Noble
e1d95d6e98
Adding a handler for abort().
...
We want to have a chance to debug a call to abort() in case we have a debugger attached.
10 years ago
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
10 years ago
Nicolas "Pixel" Noble
717ea0eb74
Install simple Windows exception handlers.
...
Will prevent Windows tests to display a pop-up message in case of a failure. Essential for Jenkins testing.
10 years ago
Craig Tiller
ab54f793ff
Reduce spam
10 years ago
Craig Tiller
f1bff01631
clang-format changed files
10 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Craig Tiller
9300c4b9c0
Fix the display of total slowdown
10 years ago
Craig Tiller
2da0296478
Eliminate need for SIGPIPE handling
10 years ago
Craig Tiller
d4df088c75
Remove TODO
10 years ago
Craig Tiller
e9a6eb7332
Allow RunScenarios to spawn in-process workers
...
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
10 years ago
Craig Tiller
f7262057e6
Port port_posix to port_windows.
10 years ago
Craig Tiller
34cf2f37f7
Begin port selection code for windows
10 years ago
Yang Gao
5a5032dd4c
Add a macro to enable replacing the default with a custom port picker
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Craig Tiller
8451e87ced
Extend timeouts for Travis 2x
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
Craig Tiller
73509a5d53
Better port picker
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
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
8f9aaa9206
Accidental change fixed
10 years ago
Craig Tiller
ae7fe92389
Unix domain socket support
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
0c0b60c322
Add platform ifdefs, fix up some MSVC warnings
10 years ago
Craig Tiller
7132d51b2e
Include some useful help text
10 years ago
Craig Tiller
297fafa078
Opportunistically use perftools if installed.
...
Allows us to collect profiles of the open source build using gprof.
10 years ago
Craig Tiller
32946d37e0
() --> (void)
10 years ago
Craig Tiller
6046dc35ef
clang-format
10 years ago
Yang Gao
5680ff4687
Run clang-format-all.sh
10 years ago
Craig Tiller
e1e2475b69
Unify signal handling in C
10 years ago
Nicolas "Pixel" Noble
80d68c09c4
Fixing test_config.c
...
Now all the gpr tests build and run under win32.
10 years ago
Craig Tiller
5c35008ea1
Unify signal handling in C
10 years ago
Craig Tiller
21b19a552c
Fix formatting
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago
Craig Tiller
edd10d2596
Make this file usable from C++
10 years ago
ctiller
b3e3317ae8
Seed random numbers in each process based on pid.
...
This causes get_unused_port_or_die to try different port numbers in each
concurrently running tests, and consequently enables some parallelism of test
processes.
Change on 2015/01/05 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83289374
10 years ago
pmarks
b74550655a
gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist.
...
On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet
connecting to that address triggers an Unreachable error. Since IPv6 is
useless on such machines, it's cleaner to turn it off than expose users to a
half-broken state.
Change on 2014/12/17 by pmarks <pmarks@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82387437
10 years ago