Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Outline

CBT Java Test Proxy

The CBT test proxy is intended for running conformance tests for Cloud Bigtable Java Client.

Set up

If you have not already done so, install golang, then clone the go test library:

git clone https://github.com/googleapis/cloud-bigtable-clients-test.git

Start test proxy

Build the proxy with the latest/head version of the client

cd java-bigtable
mvn clean install -DskipTests
cd test-proxy
mvn clean install -DskipTests

Start the proxy on default port 9999

java -jar target/google-cloud-bigtable-test-proxy-0.0.1-SNAPSHOT.jar

Start the proxy on a different port

java -Dport=1 -jar target/google-cloud-bigtable-test-proxy-0.0.1-SNAPSHOT.jar

Run the test cases

cd cloud-bigtable-clients-test/tests
go test -v -proxy_addr=:9999

Test a released client

To do so, you need to build the proxy with the released version of the client. Please download the source code here, and repeat the above steps.

Note that Kokoro presubmit test doesn't use this route.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.