daml/ledger-service
Leonid Shlyapnikov 8b9fb5942d
Fixing a rare test failure, (#3868)
* Fixing a rare test failure,

two independent scalacheck Gens generate duplicate TemplateIds. Duplicate
in this context means having the same moduleName and entityName.
```
- TemplateIdMap.unique should not contain dups *** FAILED *** (102 milliseconds)
  TestFailedException was thrown during property evaluation.
    Message: None was not equal to Some(TemplateId(zy,n,s))
    Location: (PackageServiceTest.scala:81)
    Occurred when passed generated values (
      arg0 = List(TemplateId(zy,n,s)),
      arg1 = List(TemplateId(lj,n,s), TemplateId(g,n,s))
    )
```

* Addressing code review comments, thanks @S11001001

* Addressing code review comments, thanks @SamirTalwar

* Minor cleanup
2019-12-17 13:00:37 -05:00
..
db-backend compile ValuePredicates to SQL and run json-api queries in Postgres (#3599) 2019-12-05 11:15:01 -05:00
http-json Fixing a rare test failure, (#3868) 2019-12-17 13:00:37 -05:00
jwt Implement support for RSA-signed JWT tokens (#3526) 2019-11-25 16:29:24 +01:00
lf-value-json Extractor: Add support for GenMap (#3614) 2019-11-28 12:31:28 +00:00
utils Spin off TokenHolder into a new library (#3741) 2019-12-05 12:31:14 +00:00