google / google/acai

Support running TestingServices in parallel

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
82
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Tests that start multiple servers using `@BeforeSuite` in multiple testing services may be slower than they need to be as these `@BeforeSuite` methods are run sequentially.

It might be nice to support running these methods in parallel. I think if we do this it should probably be the only mode of operation to avoid adding too many options to the API. This may require updates to existing clients to add missing `@DependsOn` annotations.

Alternatively we could support an async version of `@BeforeSuite` etc that perhaps returns a future which we wait on before starting the tests. That way we don't have an on/off control in the API but clients don't start getting their code unexpectedly running in parallel automatically.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.