Skip to content

Latest commit

 

History

History

test_proxy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

CBT Python Test Proxy

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

Option 1: Run Tests with Nox

You can run the conformance tests in a single line by calling nox -s conformance from the repo root

cd python-bigtable/test_proxy
nox -s conformance

Option 2: Run processes manually

Start test proxy

You can use test_proxy.py to launch a new test proxy process directly

cd python-bigtable/test_proxy
python test_proxy.py

The port can be set by passing in an extra positional argument

cd python-bigtable/test_proxy
python test_proxy.py --port 8080

You can run the test proxy against the previous v2 client by running it with the --legacy-client flag:

python test_proxy.py --legacy-client

Run the test cases

Prerequisites:

Clone and navigate to the go test library:

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

Launch the tests

go test -v -proxy_addr=:50055