Commit Graph

13 Commits

Author SHA1 Message Date
pbatko-da
56306eb387
[User management] More race condition tests. Simplifications in the backend. (#13140)
changelog_begin
changelog_end
2022-03-03 22:48:11 +01:00
pbatko-da
a84c2cd68f
Add tests and use ErrorDetails.matches (#13139)
changelog_begin
changelog_end
2022-03-03 09:33:37 +01:00
tudor-da
ea48173350
Switch daml-lf/engine and leger-api-tests/tool not depend on kvutils (#13107)
changelog_begin
changelog_end
2022-03-01 15:41:12 +01:00
pbatko-da
d5bfefbc00
[User management] Use collate "C" for Postgres and add test for collation for all backends. [DPP-908] (#13084)
In Oracle it should pass as our tests use an image that has NLS_LANG='American' which implies NLS_SORT='BINARY'

changelog_begin
changelog_end
2022-02-25 18:12:35 +01:00
pbatko-da
a4f9dd79c6
[User management] Add race conditions test-tool tests for CreateUser and GrantUserRights [DPP-847] (#12983)
changelog_begin
changelog_end
2022-02-22 17:36:06 +01:00
fabiotudone-da
095a017a31
Grant driver-specific API test tools access to KV offsets and ParticipantTestContext (#13023)
CHANGELOG_BEGIN
CHANGELOG_END
2022-02-22 16:59:18 +01:00
pbatko-da
b3f8fad987
[User management] Better ListUsers tests and general way to clean up new users [DPP-831] [DPP-889] (#12790)
changelog_begin
changelog_end
2022-02-16 13:23:55 +01:00
nicu-da
55fef9cf6a
[ledger-api] - Rename max deduplication time to max deduplication duration [KVL-1311] (#12939)
changelog_begin
ledger-api - rename ledger configuration max_deduplication_time to max_deduplication_duration
changelog_end
2022-02-15 21:14:26 +01:00
Samir Talwar
ac12112dad
ledger-api-tests: Remove the performance-testing functionality. (#12948)
* ledger-api-tests: Remove the performance-testing functionality.

This has been superseded by the Ledger API Bench Tool.

CHANGELOG_BEGIN
- [Ledger API Test Tool] The performance tests have been removed from
  this tool, in favor of the Ledger API Bench Tool, which is much more
  capable and configurable.
CHANGELOG_END

* ledger-on-sql/sandbox-on-x: Stop running performance tests.

We don't check the results anyway.
2022-02-15 17:06:23 +00:00
Kamil Bozek
dfd38186fe
Remove pre-1.18 error codes [DPP-773] (#12841)
* Remove legacy error codes

CHANGELOG_BEGIN
CHANGELOG_END

* Remove ValidatorFixture

* Removed redundant helper function

* Remove redundant object

* Rebased.

run-full-compat: true

* Rebased.

run-full-compat: true
2022-02-15 15:28:36 +01:00
Samir Talwar
5d6fa519d2
ledger-api-test-tool: Remove MonotonicRecordTimeIT. [KVL-1076] (#12914)
* ledger-api-test-tool: Remove MonotonicRecordTimeIT.

This only makes sense for KV ledgers; they can implement it themselves
now.

CHANGELOG_BEGIN
- [Ledger API Test Tool] The optional ``MonotonicRecordTimeIT`` test
  suite has been removed as it doesn't apply to most ledgers. If it is
  necessary, ledger driver implementors are encouraged to write their
  own and/or copy it from the last published version.
CHANGELOG_END

* ledger-api-test-tool-on-canton: Forget about MonotonicRecordTimeIT.
2022-02-14 16:09:27 +00:00
Samir Talwar
23de5e364b
ledger-api-test-tool: Make certain classes public. (#12915)
They're necessary to implement suites elsewhere.

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-14 15:55:11 +01:00
Samir Talwar
83ed13d799
Split the ledger-api-test-tool into libraries, under /ledger/ledger-api-tests. [KVL-1076] (#12771)
* Move //ledger/ledger-api-test-tool to //ledger/ledger-api-tests/tool.

And conformance.bzl to //ledger/ledger-api-tests.

* Move test tool infra to //ledger/ledger-api-tests/infrastructure.

* Split the ledger API test tool into smaller libraries.

There is no change to behavior.

CHANGELOG_BEGIN
CHANGELOG_END

* ledger-api-tests: Encapsulate performance tests.

* ledger-api-tests: Extract a "runner" library.

* ledger-api-tests: Publish libraries to Maven Central.

* ledger-api-tests: Fix Scaladoc so it compiles correctly.

Unfortunately I had to remove some Scaladoc in ActiveContractsServiceIT
which is incorrectly interpreted as not being attached to anything.
Fortunately, it's not actually that helpful.

* compatibility: Fix paths to the Ledger API Test Tool.

* Fix release types for ledger API test libraries.

* test-common: Publish generated Scala.

These libraries are dependencies of the ledger API tests components.

* ledger-api-tests: Use "com.daml" as the group ID everywhere.

* ledger-api-tests: Check that tests in `--additional` are valid.

* compatibility: Fix a reference to ledger-api-test-tool I missed.
2022-02-10 13:25:23 +00:00