Commit Graph

143 Commits

Author SHA1 Message Date
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
murgatroid99 081c157f78 Merge remote-tracking branch 'upstream/v1.8.x' into v1.8.4_upmerge 2018-01-31 14:11:43 -08:00
murgatroid99 83da9b4b12 Merge branch 'master' into metadata_plugin_test_fix 2018-01-16 12:23:05 -05:00
murgatroid99 01d66dd0b5 Add original details string to errors, update tests 2018-01-12 15:11:21 -05:00
Kelvin Jin ad8aa54fd6 simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00
murgatroid99 ca50f660b7 Fix a credentials plugin test to match changes in core 2017-11-14 15:56:12 -08:00
Kelvin Jin 2c625feb9f use client's user agent; small changes in test gulpfile; add TODO 2017-11-09 10:50:46 -08:00
Kelvin Jin 9d9404615e use merged gRPC object in api tests 2017-11-07 15:00:23 -08:00
Kelvin Jin 6a6b4eb56c add packageJson to any-grpc 2017-10-25 17:00:42 -07:00
Kelvin Jin 689d4d0c61 change grpc refs in math api test 2017-10-25 16:11:01 -07:00
Kelvin Jin 40ce5ec09b test dir don't need links 2017-10-25 15:52:52 -07:00
Kelvin Jin afca1967cc refactor: correct interop test paths 2017-10-25 15:49:55 -07:00
Kelvin Jin 5c657cf3bd test: run internal tests sequentially 2017-10-25 15:49:51 -07:00
Kelvin Jin b192adf2a1 test: add requiring fixtures to specify implementation to test 2017-10-25 15:49:18 -07:00
Kelvin Jin 9c4203c317 correction for tests 2017-10-25 14:18:16 -07:00
Kelvin Jin 94eca58f5d try new links 2017-10-25 13:15:59 -07:00
murgatroid99 111ce77440 Move more tests from native core to API test directory 2017-10-10 18:28:41 -07:00
murgatroid99 f27449a076 Add missing gulp dependency, remove unnecessary flags from one task 2017-09-28 17:13:02 -07:00
murgatroid99 a101e8b6a5 Merge branch 'master' into dependency_cleanup 2017-09-28 16:41:34 -07:00
murgatroid99 08471c2733 Merge branch 'master' into dependency_cleanup 2017-09-25 13:51:37 -07:00
murgatroid99 80f8c4b3dc Merge branch 'master' into script_licenses 2017-09-25 13:48:17 -07:00
Nicolas "Pixel" Noble 1b03146967 Merge branch 'master' of github.com:grpc/grpc-node into kokoro-windows 2017-09-22 22:20:08 +02:00
murgatroid99 777d9f8480 Add license notice to several script files 2017-09-22 10:50:58 -07:00
murgatroid99 a03dcfedb7 Added script to merge jenkins logs per node version 2017-09-21 18:13:37 -07:00
murgatroid99 62d71048fe Move dependencies around, add gulp target for document generation 2017-09-20 12:39:16 -07:00
Nicolas "Pixel" Noble 472294de2f Merge branch 'master' of github.com:grpc/grpc-node into kokoro-windows 2017-09-20 20:13:47 +02:00
Nicolas "Pixel" Noble 4177d13ada Installing nvm. 2017-09-20 19:03:40 +02:00
murgatroid99 f3706fd7d0 Add clean.all gulp task for test runs, go back to renaming report files 2017-09-19 13:56:48 -07:00
murgatroid99 14eafa2b00 Point to report files in kokoro config files 2017-09-19 12:42:27 -07:00
murgatroid99 b2583e561a Merge branch 'master' into jenkins_test_reports 2017-09-19 12:26:54 -07:00
murgatroid99 ffa1d649b0 Add original name aliases for generated client methods 2017-09-19 11:38:43 -07:00
murgatroid99 18b756f342 Add Jenkins XML reporting to tests 2017-09-18 13:19:00 -07:00
Nicolas "Pixel" Noble 84304ff1c2 Splitting kokoro.sh into run-tests.sh. 2017-09-16 01:08:33 +02:00
Matt Kwong d06ab89a70 Add Kokoro config for Linux/MacOS 2017-09-14 17:56:17 -07:00
murgatroid99 3d4dddd8cc Switch to execa. Separate setup and rebuild/test tasks 2017-09-14 10:59:20 -07:00
murgatroid99 769737b969 Create a short command to run working tests from a clean repo 2017-09-13 17:14:40 -07:00
murgatroid99 0fe5704ad7 Get tests from the C-based library working and add corresponding gulp tasks 2017-09-13 13:54:13 -07:00
murgatroid99 d6ec9fbbef Remove test package, fix some gulpfile issues 2017-09-12 13:22:43 -07:00
murgatroid99 739e31a437 Move interop, performance, and stress tests out of the native package 2017-09-11 18:16:04 -07:00
murgatroid99 56e98d7218 Move current code to packages/grpc-js-core, and fix up scripts and directory references 2017-08-31 14:08:55 -07:00
murgatroid99 a3c1136fb4 Lint and format 2017-08-29 10:27:42 -07:00
murgatroid99 57e78eb9d6 Fix existing tests 2017-08-24 18:30:13 -07:00
Kelvin Jin fb38744985 Add fromHttp2Headers 2017-08-23 10:51:37 -07:00
Kelvin Jin 95827662b4 add newline 2017-08-17 14:09:59 -07:00
Kelvin Jin ae20e248ea Modifying call credentials to reflect metadata changes 2017-08-17 14:07:43 -07:00
Kelvin Jin 9403167d5f add toHttp2Headers 2017-08-17 14:00:19 -07:00
Kelvin Jin 44b97e660b Use regexes to validate metadata 2017-08-17 13:59:50 -07:00
Kelvin Jin 0a1eb630f3 add Metadata#merge 2017-08-17 13:59:50 -07:00
Kelvin Jin ac1bb50f7e Add metadata + tests 2017-08-17 13:59:50 -07:00
Kelvin Jin b2dc9dd53e Add Call & Channel Credentials, and accompanying tests (#7)
* Add ChannelCredential tests

* Work on channel credentials

* Remove context.context checks

* Make call credentials an interface

* Write comments for call credentials

* fixtures comment in test-channel-credentials

* small changes

* Address name change comment

* define metadata interface

* Call credentials

* Reorganize channel-credentials file

* Composed call credentials tests

* Simplified CallCredentials composition

* Use async.parallel in call-credentials
2017-08-17 13:56:37 -07:00
Kelvin Jin a78e92ab89 Add mocha and gulp test tasks (#5) 2017-08-07 16:11:42 -07:00