[bisq-network/bisq] Override/disable gRPC call rate meters in test harness driver (#5683)

Stan notifications at github.com
Thu Sep 2 20:41:38 CEST 2021


Ad-hoc API testers need to be able to run the test harness without interference from the production api method call rate meters.  This change overrides and disables most call rate meters when the test harness is run from the `ApiTestMain` driver (no jupiter tests).
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5683

-- Commit Summary --

  * Delete generated rate metering config files in cleanDaoSetup task
  * Put ratemeters.json in resources/data dirs before they are copied to build dirs
  * Override/disable gRPC call rate meters in test harness driver

-- File Changes --

    M apitest/dao-setup.gradle (5)
    M apitest/src/main/java/bisq/apitest/ApiTestMain.java (22)
    M apitest/src/main/java/bisq/apitest/Scaffold.java (17)
    M apitest/src/main/java/bisq/apitest/config/ApiTestConfig.java (18)
    A apitest/src/main/java/bisq/apitest/config/ApiTestRateMeterInterceptorConfig.java (70)
    M apitest/src/test/java/bisq/apitest/ApiTestCase.java (42)
    M apitest/src/test/java/bisq/apitest/method/MethodTest.java (19)
    M apitest/src/test/java/bisq/apitest/scenario/StartupTest.java (3)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5683.patch
https://github.com/bisq-network/bisq/pull/5683.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210902/c594c626/attachment.htm>


More information about the bisq-github mailing list