hyperledger-archives / aries-framework-dotnet

Aries Framework .NET for building multiplatform SSI services
https://wiki.hyperledger.org/display/aries
Apache License 2.0
84 stars 74 forks source link

Lookup service with resilience logic, enabled manually #49

Closed tmarkovski closed 4 years ago

tmarkovski commented 4 years ago

Added retry policy to lookup schema and credential definitions to fix ledger race condition. This feature must be enabled manually using Runtime.SetFlags

Fixes #45

Signed-off-by: Tomislav Markovski tmarkovski@gmail.com

ryjones commented 4 years ago

Testing this patch at AZP, I now get 307s on some tests.

take a look

raw log here

To be clear: yes to this PR as it stands.

tmarkovski commented 4 years ago

@ryjones I believe we need to re-do the unit test container to host both indy node and test agent to be able to run them on AZP. 307 clearly indicates node is not accessible on the network. I think we can get this done fairly easy.

ryjones commented 4 years ago

I ran this code in the same loop for 46 iterations and everything passed.