TestClientConcurrent launches a bunch of goroutines that concurrently work with the S3 client. Note: This test is only executed if the initial connection to S3 works.
(t *testing.T)
| 76 | // |
| 77 | // Note: This test is only executed if the initial connection to S3 works. |
| 78 | func TestClientConcurrent(t *testing.T) { |
| 79 | if !checkConnection() { |
| 80 | t.Skip("No connection to S3 could be established. Probably not running in a proper test environment.") |
| 81 | } |
| 82 | |
| 83 | client := createClient(t, encoding.JSON) |
| 84 | |
| 85 | goroutineCount := 1000 |
| 86 | |
| 87 | test.TestConcurrentInteractions(t, goroutineCount, client) |
| 88 | } |
| 89 | |
| 90 | // TestErrors tests some error cases. |
| 91 | // |
nothing calls this directly
no test coverage detected