daml/.gitignore
Samir Talwar c81cc2ab2a ledger-on-sql: Migrate tables using Flyway. (#4232)
* ledger-on-sql: Pull out a superclass for the various integration tests.

* ledger-on-sql: Use Flyway to migrate tables in an idempotent manner.

CHANGELOG_BEGIN
CHANGELOG_END

* ledger-on-sql: Make it easy to run it with Bazel for experimentation.

* ledger-on-sql: Test that migrations will never change in the future.

* ledger-on-sql: Add a prefix of "ledger_" to the tables.

This is so we don't accidentally conflict with the index when the
schemas are shared.

I am letting myself modify the migrations because the existing
migrations haven't been merged into `master` yet.

* ledger-on-sql: Explain why we change the pool size after migration.

* ledger-api-test-tool: Tests now specify a timeout scale, not a timeout.

Makes it easier to change the default timeout in one place.

* ledger-api-test-tool: Increase timeouts on slow tests.

These tests produce a lot of volume and can make CI flaky.

* ledger-on-sql: Only tear down PostgreSQL in tests.

For other databases, we just create a new file for each test case.

* ledger-on-sql: Reduce the log output in tests.

* ledger-on-sql: Use a separate connection pool for Flyway when possible.

Apparently `setMaximumPoolSize` doesn't really have the desired effect
after the connection pool has already been used. The new test case will
be flaky if we process more than one commit in parallel.

For SQLite, it seems to be OK.

* ledger-on-sql: Use a separate connection pool for Flyway with SQLite.

Except in memory.

* ledger-on-sql: Use a separate PostgreSQL database for each test.

Because performance, innit. Don't have to tear them down.

* ledger-on-sql: Move the `Queries` values inside the `RDBMS` objects.

* ledger-on-sql: Go into even more detail about pool size hijinks.

Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
2020-01-28 16:16:23 +00:00

94 lines
1.2 KiB
Plaintext

.DS_Store
._.DS_Store
.stack-work
pkgs/*/.stack-work
workspaces/*/.stack-work
distribution-work
.idea
.envrc.private
*.iml
*.ipr
*.iws
.*.sw?
.sw?
*.pyc
*.o
*.hi
dist/
cache/
target/
target-sbt/
build/
result
.project
.build
/ci-out/
**/codex.tags
/hscope.out
._thesis.pdf
\#*\#
.\#*\#
*.tix
.da-*-gui-state
/pkgs/generated
TAGS
tags
/result-*
**/.settings
**/.classpath
**/.factorypath
*.tgz
*.tar.gz
ghc-bindist
*.result.xml
**/.ensime
**/.ensime_cache
ensime.sbt
pipelinePerformance.xml
**/database_test.manifest
.ghci
.ghcid
*.log
.buckd
buck-out
.buckconfig.local
haskell-style-check.txt
da-daml-equities-library.txt
*.egg-info/
.flattened-pom.xml
*~
*.orig
venv
trace.*.dat
node_modules/
/out/
.hpc
hpc-report/
/results
**/latency.csv
**/summary-report.txt
.scannerwork/
**/dump-*.txt
**/*tests.xml
ledger-api/.bin
*.db
.vscode
.m2/
.history/
**/.history/
### Bazel: https://www.gitignore.io/api/bazel ###
/bazel-*
.bazelrc.local
.ijwb
.bazelproject
.bazel-cache
.rattle
daml-lf/project
daml-lf/gen
daml-lf/build.sbt
.markdown-preview.html
compiler/damlc/output
language-support/hs/bindings/gen
language-support/hs/bindings/*.cabal
language-support/hs/bindings/examples/nim/*.cabal