forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify semantic test between sandbox IT and Ledger API Test Tool (digi…
…tal-asset#1171) * Add RemoteApiProxy fixture type. This is in preparation for using Sandbox IT suite as part of the Ledger API Test Tool. * ledger-api-test-tool: Drop reset functionality. This is no longer necessary for the tool and it does not scale with the types of tests in the suite. * integration-tests: Fail if the server under fixture is stuck. This makes sure that a server getting stuck will get detected by a test, instead of ignoring it and potentially allowing the server to linger. * integration-test: Make semantic testing runs independent. It manges parties and command identifier to include a unique (random) suffix in all ledger-commited identifiers. This allows the test to run against a Ledger API without reseting it. * ledger-api-test-tool: Unify test code using scenario runner with IT suite. This reuses the scenario runner test code from the IT suite, instead of reimplementing it. This should be a no-op (except for tests reports formatting). * Review fixes. * Ledger API Test Tool: Provide logback config. This quites Ledger API Test Tool output. * Make sure akka threads are terminated at end of test runs. This makrs Akka threads to be daemons, hence forcing them to be closed at the end of Ledger Api Test Tool. * Use Ledger API Test Tool in tests of reference server. * Add Apache commons-lang3. * Ledger API Test Tool: Implement custom test reporter. This addresses two needs: - avoid using buggy scalatest test reporter; - pretty-prints test results prettier. * dade-copyright-headers: return success on successful reformatting.
- Loading branch information
1 parent
c1b98f8
commit 40ce2b9
Showing
23 changed files
with
376 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
643a5531d82d832abd2af7322385afa1e8b56449 dependencies.yaml | ||
5261184634cb10d42d80a384e8eed64d8bb8eb05 dependencies.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
ledger/ledger-api-test-tool/src/main/resources/logback.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="stderr-appender" class="ch.qos.logback.core.ConsoleAppender"> | ||
<target>System.err</target> | ||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
<level>trace</level> | ||
</filter> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} %highlight(%-5level) %cyan(%logger{5}@[%-4.30thread]) - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<root level="${LOGLEVEL:-INFO}"> | ||
<appender-ref ref="stderr-appender"/> | ||
</root> | ||
|
||
<logger name="io.netty" level="WARN"> | ||
<appender-ref ref="stderr-appender"/> | ||
</logger> | ||
<logger name="io.grpc.netty" level="WARN"> | ||
<appender-ref ref="stderr-appender"/> | ||
</logger> | ||
</configuration> |
Oops, something went wrong.