Skip to content

How are multiple dependencies on one itest_service handled? #27

@peakschris

Description

@peakschris

I can't find this in the documentation:

Assume that I have multiple service_tests that all depend on a single itest_service with fixed port.

Questions

  • does rules_itest handle this gracefully when running on a local machine (no remote execution)?
  • It appears that rules_itest does not serialize the tests, so presumably allows both tests to concurrently access the service, but I'm not sure if the startup/shutdown of the service is coordinated between the multiple test cases?
  • If the service does not support concurrency, can this be controlled?

If ports are auto-assigned, do two tests depending on one itest_service cause two services to be started on different ports, or do they still share one?

Thanks for the clarifications!

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions