acapy-java-client icon indicating copy to clipboard operation
acapy-java-client copied to clipboard

Integration test with multiple aca-py agents

Open ianco opened this issue 4 years ago • 3 comments

Test connection process between 2 agents.

New base class for integration testing with multiple agents.

Parametrize agent startup to allow different tests to start agents with different settings.

Add test with author/endorser flow.

ianco avatar Dec 14 '21 04:12 ianco

@etschelp the build for this PR is failing with a license check, however it look like I've included the license header in each of these files, any suggestions?

[INFO] --- license-maven-plugin:4.1:check (default) @ aries-client-python ---
[INFO] Checking licenses...
Warning:  Missing header in: /home/runner/work/acapy-java-client/acapy-java-client/src/test/java/org/hyperledger/aries/api/connection/EndorserConnectionRecordTest.java
Warning:  Missing header in: /home/runner/work/acapy-java-client/acapy-java-client/src/test/java/org/hyperledger/aries/api/connection/MultiConnectionRecordTest.java
Warning:  Missing header in: /home/runner/work/acapy-java-client/acapy-java-client/src/test/java/org/hyperledger/aries/LedgerClient.java
Warning:  Missing header in: /home/runner/work/acapy-java-client/acapy-java-client/src/test/java/org/hyperledger/aries/MultiIntegrationTestBase.java
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:17 min
[INFO] Finished at: 2022-01-13T17:08:11Z
[INFO] ------------------------------------------------------------------------
Error:  Failed to execute goal com.mycila:license-maven-plugin:4.1:check (default) on project aries-client-python: Some files do not have the expected license header -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: Process completed with exit code 1.

ianco avatar Jan 19 '22 16:01 ianco

@ianco simply run mvn license:format once and then push the changes.

etschelp avatar Jan 19 '22 16:01 etschelp

@ianco simply run mvn license:format once and then push the changes.

Awesome thanks for the tip!

ianco avatar Jan 19 '22 17:01 ianco