Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(bigtable): adds test proxy for Bigtable test suite (#6568)
* test(bigtable): adds test proxy * fix: added license headers * feat: ReadRows (partial) * fixed bad unlock * reduced amount of code to review
- Loading branch information
Showing
5 changed files
with
858 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Cloud Bigtable Go client library test proxy | ||
|
||
The Bigtable test proxy is intended for use with the [Test Framework | ||
for Cloud Bigtable Client Libraries](https://github.com/googleapis/cloud-bigtable-clients-test). | ||
|
||
See the section on | ||
[Test Execution](https://github.com/googleapis/cloud-bigtable-clients-test#test-execution) | ||
for the Test Frameworks to see usage steps. | ||
|
||
## Running the test proxy | ||
|
||
1. Open a command terminal at the root of the Bigtable client library. | ||
|
||
1. Run the test proxy (this) | ||
|
||
|
||
go run internal/testproxy/proxy.go | ||
|
||
|
||
You can also specify a port to use for the test proxy by using the `--port` | ||
flag: | ||
|
||
``` | ||
go run internal/testproxy/proxy.go --port 5000 | ||
``` | ||
|
||
## Running the unit tests | ||
|
||
1. Run the following at the root of the test proxy folder: | ||
|
||
go test -v . |
Oops, something went wrong.