Only run sandbox(classic)? on postgres tests on Linx (#10178)

They keep causing timeouts on MacOS and nobody seems to consider them
useful enough to investigate. For now I only disabled the postgres
tests because I haven’t seen the others time out but if they do I’ll
add them as well

changelog_begin
changelog_end
This commit is contained in:
Moritz Kiefer 2021-07-05 15:41:59 +02:00 committed by GitHub
parent 5f35380a21
commit 64497f6c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ load(
"@daml//bazel_tools/client_server:client_server_test.bzl",
"client_server_test",
)
load("@os_info//:os_info.bzl", "is_windows")
load("@os_info//:os_info.bzl", "is_linux", "is_windows")
load("//bazel_tools:versions.bzl", "version_to_name", "versions")
load("//:versions.bzl", "latest_stable_version")
@ -599,7 +599,7 @@ def sdk_platform_test(sdk_version, platform_version):
dar_files = dar_files,
)],
tags = ["exclusive"] + extra_tags(sdk_version, platform_version),
) if not is_windows else None
) if is_linux else None
client_server_test(
name = name + "-classic-postgresql",
@ -618,7 +618,7 @@ def sdk_platform_test(sdk_version, platform_version):
dar_files = dar_files,
)],
tags = ["exclusive"] + extra_tags(sdk_version, platform_version),
) if not is_windows else None
) if is_linux else None
# daml-ledger test-cases
name = "daml-ledger-{sdk_version}-platform-{platform_version}".format(