Commit Graph

195 Commits

Author SHA1 Message Date
Eric Anderson 0099657b5e android-interop: Remove usage of deprecated generated interface 2016-07-18 10:41:14 -07:00
Eric Anderson e9643bb5d7 Start 1.1.0 development cycle 2016-07-11 16:57:58 -07:00
Eric Anderson 0a98ff083b interop: Bump maxMessageSize for Android testing
This was missed in 16b096b5
2016-07-11 15:14:54 -07:00
Eric Anderson 46379da1a6 Start 1.0.0 development cycle 2016-07-01 11:46:33 -07:00
Eric Anderson dbef1af29a Bump protobuf dependency to 3.0.0-beta-3
This allows us to play with zero-copy and proto3 support for lite.
Unfortunately, it introduced some warnings, so deprecated warnings are
now ignored for benchmarks and interop-testing.
2016-06-28 08:58:13 -07:00
Eric Anderson 4372ceee06 android: Add ProGuard rules for NameResolverProvider
Without the rules, all RPCs fail since no providers are found. We like
the idea of RPCs working.
2016-06-21 14:57:31 -07:00
Eric Anderson 5a2e5e16a2 android-interop-test: Enable checkstyle; fix violations 2016-05-16 12:44:15 -07:00
Eric Anderson 446f0cb85f Upgrade to Gradle 2.13
This improves our documentation for the gradle protobuf plugin, as its
version is dependent on the gradle version.

Gradle now has the --tests flag, performance improvements, and support
for OpenPGP subkeys.
2016-05-09 09:36:13 -07:00
Carl Mastrangelo 3c5b5a5e09 Begin v0.15.0 Cycle 2016-04-29 13:54:18 -07:00
Eric Anderson ac4168a236 Revert "Update proto packages to reflect directory structure"
This reverts commit 8825f355df.

The commit changed the package name of services that were used across
languages. That broke their functionality pretty severely. The changes
require more coordination with others.
2016-04-28 10:42:47 -07:00
Carl Mastrangelo 8825f355df Update proto packages to reflect directory structure 2016-04-27 14:16:28 -07:00
Xiao Hang b053d892a1 Fix proguard. Added three donotwarn for things we don't use at all in this testing app. 2016-04-08 14:24:10 -07:00
Eric Anderson 0a01b3cf42 Simplify nano flag to codegen to just 'nano' from 'nano=true'
'nano=true' still works, but any value is now ignored. This is to align
with our lite flag, but also just because It's Cleaner.

Note that this is counter to what javanano does. Javanano requires all
flags have a value and uses true/false for many values.
2016-03-30 09:34:22 -07:00
Xiao Hang 5d025ed6ae Change InteopTester to take a ManagedChannel directly instead of using all the args to build a channel
Create a helper class for building okhttp based channels in android tester app
2016-02-29 08:48:20 -08:00
Eric Anderson b824565632 Improve procedure for creating release tag and branch
The flow itself was improved, but also the addition of Bash variables
and sed automation should hopefully make it less error-prone.
2016-02-18 16:31:14 -08:00
Eric Anderson 30b4232060 Start 0.14.0 development cycle 2016-02-16 16:31:59 -08:00
Eric Anderson 64bc830f65 Update Android test build to use current grpc snapshot and support Gradle 2.10
com.android.tools.build:gradle:1.1.0 doesn't work with Gradle 2.10, but
1.5.0 does.

I also bumped the protobuf-gradle-plugin to be the same as the version
used in the README and our primary build.gradle.
2016-02-10 16:05:03 -08:00
Eric Anderson 5a5f985d21 Log full Status on Android test failure 2016-02-04 15:26:18 -08:00
Carl Mastrangelo 8a40989fef Fix OOM errors that happen occasionally 2016-01-29 12:58:57 -08:00
Kun Zhang e2ed2e8f03 Upgrade to protobuf-3.0.0-beta-2 and protobuf-nano-3.0.0-alpha-5
Update option name that disables protobuf tests.
2016-01-27 23:32:01 -08:00
Eric Anderson 7677525c37 Log start of test and don't wait forever
With this, the test should no longer time out in case of error and there
is more information available to determine which test has issues if
there are further problems.
2016-01-25 09:14:53 -08:00
Eric Anderson c70a769da7 Wait 5 seconds, not over an hour 2016-01-25 08:54:13 -08:00
Feng Li 2719a8c858 Updates the README.md to add instructions to start test server. 2015-12-28 17:10:43 -08:00
Xudong Ma d238d86a3c Some changes to Android interop test App:
1. Call runTest() for test "all", this is required by some internal code.
2. Turn off proguard for debug App.
3. Catch Throwable when we run the test, so that some errors like OutOfMemoryError would fail the test.
4. Compare message size for veryLargeResponse test, otherwise comparing two message would create two more large byte arrarys.
2015-12-14 13:11:59 -08:00
Eric Anderson a1ed98fbae Add missing generics 2015-12-03 14:36:08 -08:00
Xudong Ma 944edc4601 [Android-interop-test] Fail the instrumentation if any exception is thrown during the channel initialization. 2015-12-02 11:37:30 -08:00
Xudong Ma ee56c4940d Update Android interop test App to use ManagedChannelBuilder 2015-12-02 11:20:05 -08:00
Xudong Ma 996ea2fc22 Give dependency example for android clients. 2015-10-07 16:08:36 -07:00
Xudong Ma 400926e4e8 [Android-interop-test] Support non-tls test and replace a deprecated API call 2015-09-29 13:53:30 -07:00
Xudong Ma f7f57b79c9 Put nano generated code into nano package, unless option javanano_use_deprecated_package is set.
Also fix the behaior while java_package is set to empty.
2015-09-28 09:49:02 -07:00
Xudong Ma 2016a88f5c Update the comments in proguard-rules files. 2015-09-17 18:17:32 -07:00
Louis Ryan 540b4d3521 Revert "Draft of Android specific Channe builder"
This reverts commit d6dc790f05.
2015-09-09 10:18:45 -07:00
Xiao Hang 264dc09cfd Port test cases in AbstractTransportTest to android interop test
The test scenarios all remain the same. The changes are just in proto to nanoproto conversion and removing mocktio
2015-09-04 17:14:50 -07:00
Louis Ryan d6dc790f05 Draft of Android specific Channe builder 2015-09-03 13:58:23 -07:00
Xudong Ma 0a51f0fbd9 Move StreamRecorder to testing package. 2015-09-01 09:15:03 -07:00
Xudong Ma fb984bb5bb Update to protobuf beta for Android interop test 2015-08-31 15:05:06 -07:00
Xiao Hang 9243157898 Fix broken interop test, using new StreamObserver API. 2015-08-31 13:54:54 -07:00
Xudong Ma 46c76bdff7 Update android-interop-test's dependency. 2015-08-14 11:25:59 -07:00
Kun Zhang d2929cd1a3 Reorganize packages.
Reserve io.grpc for public API only, and all internal stuff in core to
io.grpc.internal, including the non-stable transport API.

Raise the netty/okhttp/inprocess subpackages one level up to io.grpc,
because they are public API and entry points for most users.

Details:

- Rename io.grpc.transport to io.grpc.internal;
- Move SharedResourceHolder and SerializingExecutor to io.grpc.internal
- Rename io.grpc.transport.{netty|okhttp|inprocess} to
  io.grpc.{netty|okhttp|inprocess}
2015-08-10 15:04:29 -07:00
Xudong Ma 512134b095 Android-Interop-test: fix lint errors/warnings, enable proguard. 2015-08-04 10:52:20 -07:00
Kun Zhang 137b2ef8c3 Upgrade protobuf-gradle-plugin to 0.6.1 2015-08-03 13:41:48 -07:00
Xudong Ma 12d57974c0 Android interop test: Use proto plugin to generate the needed code. 2015-07-07 10:11:00 -07:00
Xudong Ma 1b3f9a3cde Add an option to Android interop test, to configure TLS protocol on SSLCertificateSocketFactory directly.
This is how our current internal users configure the TLS protocol, with this option, we can test and verify future changes will not break internal users.
2015-07-06 11:11:38 -07:00
Xudong Ma a0241d8d88 Use default type of KeyStore in Android interop test App, so that it can work on lower versions.
The previously used "AndroidKeyStore" was introduced in Android 4.3
2015-06-30 15:18:14 -07:00
Xudong Ma f88779e422 Add the Android interop test App.
So far, it is built separately from the other gRpc components.
2015-06-26 15:31:14 -07:00