google / go-cloud

The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go.
https://gocloud.dev/
Apache License 2.0
9.56k stars 810 forks source link

blob/tests: add some concurrency tests #626

Closed vangent closed 5 years ago

vangent commented 6 years ago

Add some conformance tests that use the blob API concurrently and make sure things work.

eliben commented 5 years ago

The record/replay infrastructure we currently use for blob testing (go-vcr) doesn't deal well with non-determinism, and concurrent tests will produce non-deterministic orders of requests/responses.

We'll be looking into using httpreplay for blob conformance tests

eliben commented 5 years ago

@vangent would you like to see additional concurrent tests beyond #1952?

vangent commented 5 years ago

Nope, LGTM!