Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19751

camel-xchange: tests keep hitting the binance API

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      The camel-xchange tests keep hitting the address https://fapi.binance.com/fapi/v1/exchangeInfo which both abuse the owner of the address and contribute to their flakiness.

      To reproduce:
      1. Run the tests locally: they are likely to pass
      2. Block the binance API address (see below)
      3. Repeat the tests: they should fail with "org.knowm.xchange.exceptions.ExchangeException: Failed to initialize: Connection refused"

      To block the address, you can add the following line to /etc/hosts:

      127.0.0.1       fapi.binance.com
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: