Add cpu:2 tag to extractor tests (#11697)

This will limit the parallelism of extractor integration tests.

Each test runs now a bit faster although overall all tests seem
to run a bit slower. This seems a good compromise as it should
limit the contention over system resources between various
integration tests, each running a PostgreSQL instance and sharing
various system resources.\

changelog_begin
changelog_end
This commit is contained in:
Stefano Baghino 2021-11-15 12:39:05 +01:00 committed by GitHub
parent 8e08450220
commit 8015f60708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ def extractor_test(name, srcs, flaky):
name = name, name = name,
flaky = flaky, flaky = flaky,
size = "medium", size = "medium",
tags = ["cpu:2"],
srcs = srcs, srcs = srcs,
data = [ data = [
"//daml-lf/encoder:testing-dar-latest", "//daml-lf/encoder:testing-dar-latest",