Skip to content

Commit

Permalink
ledger-on-sql: Remove conformance tests for H2 and SQLite files. (#10291
Browse files Browse the repository at this point in the history
)

We don't use these in any kind of production setting, and it reduces the
CI overhead a lot.

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
SamirTalwar authored Jul 15, 2021
1 parent a9a0b70 commit 70b12f0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 123 deletions.
28 changes: 0 additions & 28 deletions ledger/ledger-on-sql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,6 @@ supported_databases = [
"--timeout-scale-factor=4",
],
},
{
"name": "h2-file",
"runtime_deps": [
"@maven//:com_h2database_h2",
],
"conformance_test_tags": [
"manual",
],
"conformance_test_server_main": "com.daml.ledger.on.sql.MainWithEphemeralDirectory",
"conformance_test_server_args": [
"--jdbc-url=jdbc:h2:%DIR/test",
],
"conformance_test_tool_args": [
"--concurrent-test-runs=2",
"--timeout-scale-factor=4",
],
},
{
"name": "postgresql",
"runtime_deps": [
Expand All @@ -61,16 +44,6 @@ supported_databases = [
"--jdbc-url=jdbc:sqlite:file:daml-on-sql-conformance-test?mode=memory&cache=shared",
],
},
{
"name": "sqlite-file",
"runtime_deps": [
"@maven//:org_xerial_sqlite_jdbc",
],
"conformance_test_server_main": "com.daml.ledger.on.sql.MainWithEphemeralDirectory",
"conformance_test_server_args": [
"--jdbc-url=jdbc:sqlite:%DIR/test.sqlite",
],
},
]

all_database_runtime_deps = {dep: None for db in supported_databases for dep in db["runtime_deps"]}.keys()
Expand Down Expand Up @@ -185,7 +158,6 @@ da_scala_library(
"//ledger-api/rs-grpc-bridge",
"//ledger-api/testing-utils",
"//ledger/caching",
"//ledger/ledger-api-auth",
"//ledger/ledger-api-health",
"//ledger/ledger-configuration",
"//ledger/ledger-resources",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 70b12f0

Please sign in to comment.