Commit Graph

63 Commits

Author SHA1 Message Date
yang-g cf44bb5027 use millis to protect against potential overflow 2015-08-27 11:03:40 -07:00
Craig Tiller 128f4a9cfe Merge github.com:grpc/grpc into y12kdm3 2015-08-18 12:51:05 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Craig Tiller 8f7bff7d48 Merge github.com:grpc/grpc into y12kdm3 2015-08-17 13:23:14 -07:00
Craig Tiller d067c263b2 Merge github.com:grpc/grpc into y12kdm3
Conflicts:
	src/core/security/google_default_credentials.c
	test/core/security/verify_jwt.c
2015-08-12 12:00:36 -07:00
Craig Tiller b933c2cd55 Fix memory leaks 2015-08-06 17:49:49 -07:00
Craig Tiller 6b9477e8dc Merge github.com:grpc/grpc into kinetic-lopsided-poetry 2015-08-06 15:12:53 -07:00
Craig Tiller a3a7e5c0b2 Merge github.com:grpc/grpc into y12kdm3 2015-08-06 13:19:33 -07:00
Nicolas Noble 0a6012688a Merge pull request #2783 from ctiller/tracing-takes-time
Allow fixtures to specify slowdown factors, use it for grpc_trace tests
2015-08-06 09:55:02 -07:00
Craig Tiller 4c06b820e0 Add a test of non-blocking API behavior
... also fix things that were broken :)
2015-08-06 08:41:31 -07:00
Craig Tiller a5af2be964 Fix integration breakage 2015-08-05 15:31:02 -07:00
Craig Tiller 0700d8b118 Merge github.com:grpc/grpc into kinetic-lopsided-poetry 2015-08-05 15:28:41 -07:00
Craig Tiller 08cea2a907 Fix integration breakage 2015-08-05 12:12:05 -07:00
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.
2015-08-04 14:19:43 -07:00
Craig Tiller 7b9ed35a2c Allow fixtures to specify slowdown factors, use it for grpc_trace tests 2015-08-04 08:55:12 -07:00
yang-g fc8d8d6a43 add support for detecting spurious outside connection. 2015-07-27 23:35:47 -07:00
yang-g c9c69e27da Add reconnect interop test client and server 2015-07-24 14:38:26 -07:00
Craig Tiller 6a7626c98f Move alarm subsystem to monotonic time 2015-07-19 22:21:41 -07:00
Craig Tiller c9fef6f521 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-17 14:41:12 -07:00
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.
2015-07-14 02:08:50 +02:00
Craig Tiller 58bbc864ba Updating wrapped languages to new time functions 2015-07-13 09:51:17 -07:00
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.
2015-07-12 00:01:03 +02:00
Craig Tiller 080d6c50bb Merge github.com:grpc/grpc into footprints-on-the-sands-of-time 2015-07-10 10:23:10 -07:00
Craig Tiller ab54f793ff Reduce spam 2015-07-08 08:34:20 -07:00
Craig Tiller f1bff01631 clang-format changed files 2015-07-06 11:20:50 -07:00
Craig Tiller f3756c1e0d Introduce multiple clocks to GPR 2015-07-01 17:21:01 -07:00
Craig Tiller 9300c4b9c0 Fix the display of total slowdown 2015-05-29 14:51:11 -07:00
Craig Tiller 2da0296478 Eliminate need for SIGPIPE handling 2015-05-06 16:14:25 -07:00
zeliard 04ddd8c524 fix expression bug on socket creation failure (fd<0 is always false because fd is unsigned and Windows returns ~0 (-1) on socket failure) 2015-04-27 14:50:07 +09:00
Vijay Pai 4bfcf5b592 Merge pull request #1241 from ctiller/local_worker
Allow RunScenarios to spawn in-process workers
2015-04-14 09:01:30 -07:00
Craig Tiller d4df088c75 Remove TODO 2015-04-10 14:40:28 -07:00
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.
2015-04-09 15:51:41 -07:00
Craig Tiller f7262057e6 Port port_posix to port_windows. 2015-04-08 16:13:58 -07:00
Craig Tiller 34cf2f37f7 Begin port selection code for windows 2015-04-08 16:10:00 -07:00
Yang Gao 5a5032dd4c Add a macro to enable replacing the default with a custom port picker 2015-04-01 13:54:44 -07:00
Craig Tiller 3e9cbc749a Merge github.com:grpc/grpc into qps_driver 2015-03-02 09:15:23 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller 8451e87ced Extend timeouts for Travis 2x 2015-02-27 09:25:51 -08:00
Craig Tiller f6901be8cd Allow machine and build type tuning of slowdown 2015-02-27 09:12:58 -08:00
Craig Tiller 7b5eb7193c Increment 'try' variable
To ensure that we actually probe different ports
2015-02-27 07:52:09 -08:00
Craig Tiller 73509a5d53 Better port picker 2015-02-26 17:43:49 -08:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Craig Tiller 2d0f36c84b Driver to client/server kind of works 2015-02-23 23:16:17 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 0c0b60c322 Add platform ifdefs, fix up some MSVC warnings 2015-01-21 15:49:28 -08:00
Craig Tiller 7132d51b2e Include some useful help text 2015-01-16 09:00:12 -08:00
Craig Tiller 297fafa078 Opportunistically use perftools if installed.
Allows us to collect profiles of the open source build using gprof.
2015-01-15 15:46:39 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00