Mark tests that use Haskell gRPC bindings as flaky (#2521)

I’m hoping to investigate this soon but for now this should hopefully
result in less time spend restarting tests.
This commit is contained in:
Moritz Kiefer 2019-08-13 20:38:51 +02:00 committed by GitHub
parent 678ac0d725
commit ef635ea301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View File

@ -328,62 +328,62 @@ java_binary(
daml_test(
name = "ledger-api-daml-test",
srcs = glob(["source/app-dev/code-snippets/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "bindings-java-daml-test",
srcs = glob(["source/app-dev/bindings-java/code-snippets/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "patterns-daml-test",
srcs = glob(["source/daml/patterns/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "daml-studio-daml-test",
srcs = glob(["source/daml/daml-studio/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "daml-ref-daml-test",
timeout = "long",
srcs = glob(["source/daml/code-snippets/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "introduction-daml-test",
srcs = glob(["source/getting-started/introduction/code/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "quickstart-daml-test",
srcs = glob(["source/getting-started/quickstart/template-root/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "ledger-model-daml-test",
srcs = glob(["source/concepts/ledger-model/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "java-bindings-docs-daml-test",
srcs = glob(["source/app-dev/bindings-java/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
daml_test(
name = "daml-intro-daml-test",
srcs = glob(["source/daml/intro/daml/**/*.daml"]),
flaky = is_windows, # https://github.com/digital-asset/daml/issues/1907
flaky = True, # https://github.com/digital-asset/daml/issues/2520
)
filegroup(

View File

@ -52,6 +52,8 @@ da_haskell_test(
":for-upload.dar",
"//ledger/sandbox:sandbox-binary",
],
# The gRPC binding sometimes throw assertion on shutdown, see #2520.
flaky = True,
hazel_deps = [
"async",
"base",