Commit Graph

200 Commits

Author SHA1 Message Date
Michael Lumish eb475ec92c Remove references and unnecessary scripts, copy some protos 2020-05-13 15:30:37 -07:00
Michael Lumish 413dcd764b Remove debug logs 2020-04-09 16:11:15 -07:00
Michael Lumish f0d02f830d Get the tests passing 2020-04-09 16:08:18 -07:00
Michael Lumish 4bb965d2d8 Fix default max message length values 2020-04-09 10:45:57 -07:00
Michael Lumish 9221fdea24 grpc-js: Add max message size enforcement 2020-04-08 14:37:03 -07:00
Michael Lumish 25b5a40a6c Use make from homebrew in Mac tests 2020-03-26 09:25:37 -07:00
jiangtaoli2016 881cde4e1f Update test credentials 2020-03-19 13:12:09 -07:00
murgatroid99 f0fbe44134 Merge branch 'master' into grpc-js_client_interceptors 2020-02-11 15:31:53 -08:00
Michael Lumish 6994f1b1df
Merge pull request #1231 from murgatroid99/test_waitForReady
Add test for waitForReady on both implementations
2020-01-24 10:07:12 -08:00
CyrusNajmabadi eecfebb677
Update test/api/error_test.js
Co-Authored-By: Michael Lumish <mlumish@google.com>
2020-01-13 16:51:43 -08:00
CyrusNajmabadi 5b2af32d3c
Update test/api/error_test.js
Co-Authored-By: Michael Lumish <mlumish@google.com>
2020-01-13 16:51:37 -08:00
Cyrus Najmabadi b52d38f663 Add test 2020-01-13 15:27:00 -08:00
murgatroid99 3a1470ed80 Fix other references 2020-01-08 09:43:10 -08:00
murgatroid99 94cdec3e73 Fix grpc reference in tests 2020-01-07 17:54:50 -08:00
murgatroid99 f03f1b52f3 Add test for waitForReady on both implementations 2020-01-07 16:26:22 -08:00
murgatroid99 738dbf8f02 Merge branch 'master' into grpc-js_client_interceptors 2020-01-07 10:48:01 -08:00
Michael Lumish 39a056840f
Revert "Update google-auth-library in interop tests" 2019-12-11 11:03:59 -08:00
murgatroid99 aff61540bc Update google-auth-library in interop tests 2019-12-03 14:08:37 -08:00
Michael Lumish 9ec428bdd4
Merge pull request #1195 from ortoo/master
grpc-js: fix error messages truncating at commas
2019-11-21 15:31:07 -08:00
James Sharp 2dce08dc99
Only custom-metadata headers should be parsed as comma-separated 2019-11-21 21:48:50 +00:00
Nicolas "Pixel" Noble da1c43726a Further locking down our environment. 2019-11-20 19:15:50 +01:00
Nicolas "Pixel" Noble af85917017 Deleting Ruby. 2019-11-20 00:43:08 +01:00
Nicolas Noble 6109391e36 Fix MacOS failure 2019-11-19 23:58:48 +01:00
murgatroid99 eaae8fb3b6 Simplify test gulpfile and improve test order visibility 2019-11-14 16:39:11 -08:00
murgatroid99 0c61981ffc grpc-js: all client interceptors tests pass with minor modifications 2019-11-14 15:09:51 -08:00
murgatroid99 f963c5e8cc Remove extra log lines 2019-11-14 15:08:32 -08:00
murgatroid99 33875dce4a grpc-js: make client interceptors tests pass mostly unmodified 2019-11-14 15:02:24 -08:00
murgatroid99 3c961140fb Merge branch 'master' into grpc-js_client_interceptors 2019-11-08 15:23:40 -08:00
murgatroid99 acbf17d9b7 Add client interceptors 2019-11-01 10:21:52 -07:00
Michael Lumish 35efc06146
Merge pull request #1082 from murgatroid99/v1.24_upmerge
V1.24 upmerge
2019-10-22 15:32:46 -07:00
murgatroid99 8a212ba2d9 Fix a couple of references in test files 2019-10-10 15:01:28 -07:00
murgatroid99 86d6291925 1000 concurrent calls is excessive 2019-10-10 14:48:14 -07:00
murgatroid99 e7ca0da409 Specify client and server implementation in test description 2019-10-10 14:47:10 -07:00
murgatroid99 ee0554231b Add regression tests for recent failures, move a test 2019-10-09 16:50:47 -07:00
murgatroid99 7c07d76151 Increase timeout for Windows Electron build 2019-08-16 13:02:59 -07:00
Michael Lumish 68fbffa474
Skip connectivity test to narrow down failures 2019-06-26 16:22:01 -07:00
cjihrig e9946c3f6c
test: make connctivity test more robust
The key change here is forcing the final unary call to
wait for the server to be ready. The native client was
making the RPC, but didn't appear to have a valid
connection at the time.
2019-06-25 19:39:45 -04:00
cjihrig 0a306fa983
test: move interop tests from bind() to bindAsync()
This commit migrates the interop tests from bind() to
bindAsync() in order to support the pure JavaScript server,
which cannot implement a synchronous bind().
2019-06-25 14:04:18 -04:00
cjihrig 22b258bc4e
test: enable grpc-js Server interop testing
This commit enables interop testing with the grpc-js Server.
2019-06-25 13:53:38 -04:00
murgatroid99 fbdeae23ea Use triple equals 2019-06-24 13:17:03 -07:00
murgatroid99 eb3c479e36 Connectivity test: ensure all calls end before ending the test 2019-06-24 12:56:27 -07:00
murgatroid99 9aeca2f01a Pure JS: Fixed two bugs with goaway handling 2019-06-06 09:48:04 -07:00
murgatroid99 92bed740e8 Fix custom metadata handling bug 2019-06-03 14:47:11 -07:00
murgatroid99 904d820bd2 Merge remote-tracking branch 'upstream/grpc@1.20.x' into v1.20_upmerge 2019-05-08 13:32:11 -07:00
cjihrig 7ca94b569d
grpc-js: require non-experimental http2
This commit bumps the required semver range to versions of Node
that include a non-experimental http2 module.
2019-04-26 18:53:41 -04:00
murgatroid99 39f5e89ee1 Fix bad return when skipping tests 2019-04-25 09:29:54 -07:00
murgatroid99 42d9658283 Fix usage of linkSync 2019-04-24 17:44:49 -07:00
murgatroid99 4db3ee2331 Fix bad import 2019-04-24 17:32:59 -07:00
murgatroid99 2ef046e96f Properly signal task completion in gulpfiles 2019-04-24 16:54:03 -07:00
murgatroid99 df57548805 Update gulp to version 4, rewrite scripts 2019-04-24 16:12:02 -07:00
Nicolas "Pixel" Noble 6bc7184542 Adding missing license on a bunch of source files. 2019-03-19 01:06:57 +01:00
murgatroid99 8bb3f0a130 Add cmake to path 2019-02-13 12:42:42 -08:00
Michael Lumish 0a88c7f0f9
Merge pull request #729 from murgatroid99/grpc-tools_build_scripts
Add build files for grpc-tools and tests for those builds
2019-02-08 15:22:06 -08:00
murgatroid99 fc6feb470e More Windows script fixes 2019-02-07 12:44:48 -08:00
murgatroid99 babc0ae0fa Set execute bits on scripts 2019-02-06 15:52:56 -08:00
murgatroid99 20d7414b81 Make release script setup more consistent 2019-02-06 15:07:42 -08:00
murgatroid99 c137ca6849 Add build files for grpc-tools and tests for those builds 2019-02-06 14:53:37 -08:00
Shir Brass c3abd598a5
replace usage of Buffer.from with Buffer.alloc 2019-02-05 17:36:53 +02:00
Shir Brass 6f0f2e4560
replace usage of Buffer.from with Buffer.alloc 2019-02-05 17:36:15 +02:00
Shir Brass 6bd43856a8
replace usage of Buffer.from with Buffer.alloc 2019-02-05 17:35:42 +02:00
Shir Brass 90888cae88
replace usage of Buffer.from with Buffer.alloc 2019-02-05 17:35:02 +02:00
Shir Brass 511f4249d1 removed all the deprecated new Buffer code and replace it with Buffer.from 2019-02-02 15:17:46 +02:00
Nicolas "Pixel" Noble 3593bb621e Splitting node and electron builds. 2019-01-18 00:13:29 +01:00
cjihrig c8266e56d0
squash! grpc-js: rename grpc-js-core to match npm 2018-11-04 11:24:13 -05:00
cjihrig 489305db79
proto-loader: rename grpc-protobufjs to match npm
This commit renames grpc-protobufjs to proto-loader to more
closely match the name used on npm.
2018-11-01 17:09:28 -04:00
cjihrig 65bd142114
grpc-js: rename grpc-js-core to match npm
This commit renames grpc-js-core to grpc-js to more closely
match the name used on npm.
2018-11-01 16:56:57 -04:00
murgatroid99 32c435a180 Add some tests for error cases for both clients 2018-08-30 11:07:14 -07:00
murgatroid99 65d2f86aa9 Fix benchmark proto loading 2018-08-07 13:27:15 -07:00
murgatroid99 c03c275b48 Add special_status_message interop test 2018-07-26 11:33:20 -07:00
Nicolas "Pixel" Noble a05ce748c4 Reverting the utf8 part of our interop test. 2018-07-24 20:13:00 +02:00
Nicolas "Pixel" Noble 9a5da08497 Properly create slices from utf8 strings.
Fixes #426.
2018-07-09 22:32:14 +02:00
murgatroid99 aa9d47da14 Make grpc-js tests run on Node 8.11.2 2018-05-30 15:57:35 -07:00
Michael Lumish 49c354a223
Revert "Revert "Add coverage reporting for JavaScript and TypeScript files"" 2018-05-16 14:03:23 -07:00
Jan Tattermusch 1b4d66b382
Revert "Add coverage reporting for JavaScript and TypeScript files" 2018-05-15 18:29:06 -07:00
murgatroid99 1f58e0111d Skip cross-implementation tests for Node<6 2018-05-14 16:05:52 -07:00
murgatroid99 3ed2e806fd Don't use let in js gulpfiles 2018-05-14 14:03:11 -07:00
murgatroid99 796a1df0e5 Make interop client fail if the test never finishes 2018-05-14 10:59:33 -07:00
murgatroid99 60b59c455c Add coverage reporting for JavaScript and TypeScript files 2018-05-10 11:21:25 -07:00
murgatroid99 51ae5318be Interop sanity tests: run clients and server in different processes 2018-05-08 08:51:27 -07:00
murgatroid99 a6747e910b Merge remote-tracking branch 'upstream/v1.11.x' into v1.11.x_merge 2018-05-03 14:30:11 -07:00
murgatroid99 a63f534979 Change 'include' to 'includeDirs' in proto-loader package 2018-04-30 13:31:12 -07:00
murgatroid99 cad47e4de8 Update benchmark code to handle both implementations 2018-04-19 16:10:48 -07:00
Kelvin Jin 94906e4122 client library integration: adjust options 2018-04-11 15:11:18 -07:00
Kelvin Jin 6c1f4bc621 client lib integration changes 2018-04-06 14:06:02 -07:00
Nicolas "Pixel" Noble 83178b9a34 Grabbing artifacts. 2018-03-15 21:24:07 +01:00
murgatroid99 205f237928 Don't handle already-finished call in channel 2018-03-14 14:01:11 -07:00
Nicolas "Pixel" Noble 366cd40abd Merge branch 'v1.10.x' of https://github.com/grpc/grpc-node into upmerge 2018-03-14 00:09:49 +01:00
Nicolas "Pixel" Noble 64e3e9d764 Don't do release build tests in the normal tests. 2018-03-13 20:52:48 +01:00
Nicolas "Pixel" Noble 50c5b06479 Splitting build and test jobs. 2018-03-13 20:50:45 +01:00
Nicolas "Pixel" Noble 03fb2cbb04 Adding builds to our CI. 2018-03-13 20:50:34 +01:00
murgatroid99 122787f951 Fix js_js fixture 2018-03-12 13:36:48 -07:00
Michael Lumish 0e1054016e
Merge pull request #209 from murgatroid99/multi_impl_interop_tests
Make interop tests use new proto loader, run them with pure js client
2018-03-09 11:11:37 -08:00
murgatroid99 5e0d34a7b7 Make interop tests use new proto loader, run them with pure js client 2018-03-08 16:42:01 -08:00
Kelvin Jin 7e0e74213f Add client libraries integration test package 2018-03-07 15:03:18 -08:00
Kelvin Jin d3d91e1c36 recover fixtures
Revert "build: update build files"

This reverts commit a35fad015d.
2018-03-01 11:54:48 -08:00
Kelvin Jin b88260045a move interop tests back 2018-03-01 09:56:05 -08:00
Kelvin Jin a35fad015d build: update build files 2018-02-28 15:06:19 -08:00
Kelvin Jin 98341acc7e grpc-native: move api tests verbatim to grpc-native-core 2018-02-28 14:48:36 -08:00
Kelvin Jin 6e569b76f1 Revert 2c625fe^..b192adf
Revert "use client's user agent; small changes in test gulpfile; add TODO"

This reverts commit 2c625feb9f.

Revert "use merged gRPC object in api tests"

This reverts commit 9d9404615e.

Revert "add packageJson to any-grpc"

This reverts commit 6a6b4eb56c.

Revert "change grpc refs in math api test"

This reverts commit 689d4d0c61.

Revert "test: add requiring fixtures to specify implementation to test"

This reverts commit b192adf2a1.
2018-02-28 14:42:54 -08:00
murgatroid99 ca2704912c Fix handling of undefined values for optional call arguments 2018-02-12 16:57:48 -08:00