Failing market prices test
OlegAba opened this issue · comments
Oleg commented
Hi,
Any idea what could be causing the following test to fail? I am running a local test network and have only changed the port for aliceWalletUrl
in the test config. Thank you.
Alice posting offer
Alice done posting offer
Bob taking offer
Bob done taking offer in 6906 ms
Mining to unlock deposit txs
Done mining to unlock deposit txs
FAIL src/HavenoDaemon.test.ts (93.767 s)
● Can get market prices
ETH is not a valid currency code
at new E (node_modules/grpc-web/index.js:21:1229)
at Y (node_modules/grpc-web/index.js:56:272)
at oc.<anonymous> (node_modules/grpc-web/index.js:55:197)
at Ib (node_modules/grpc-web/index.js:33:182)
at O (node_modules/grpc-web/index.js:32:614)
at yc (node_modules/grpc-web/index.js:46:68)
at oc.Object.<anonymous>.n.W (node_modules/grpc-web/index.js:44:252)
at oc.Object.<anonymous>.n.R (node_modules/grpc-web/index.js:44:231)
at XMLHttpRequest.invokeTheCallbackFunction (node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:18:28)
at XMLHttpRequest.<anonymous> (node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at XMLHttpRequestImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at fireAnEvent (node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36)
at readyStateChange (node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:761:3)
at EventEmitter.<anonymous> (node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:889:5)
at Request.<anonymous> (node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:382:41)
at IncomingMessage.<anonymous> (node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:230:42)
SELLER_SAW_ARRIVED_PAYOUT_TX_PUBLISHED_MSG
PASS src/App.test.tsx
Test Suites: 1 failed, 1 passed, 2 total
Tests: 1 failed, 10 passed, 11 total
Snapshots: 0 total
Time: 94.5 s, estimated 95 s
Ran all test suites.
woodser commented
This test is expected to fail until the api call is fixed.
haveno-dex/haveno#166 should fix the error about the offer not being on the books which happened the first time the tests were run.