Created
May 22, 2020 16:47
-
-
Save feuGeneA/7a037d1affbef7f75d69baec4234303a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22May12:37:56 [2 jobs] ~/dev/0x-api[fix/asset-swapper-rfqt-response-codes %=]$ t | |
yarn run v1.19.1 | |
$ yarn test:rest && yarn test:rfqt | |
$ ETHEREUM_RPC_URL=http://localhost:8545 CHAIN_ID=1337 RFQT_API_KEY_WHITELIST='koolApiKey1,koolApikey2' RFQT_MAKER_ASSET_OFFERINGS='{"https://mock-rfqt1.club": [["0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c","0x0b1ba0af832d7c05fd64161e0db78e85978e8082"]]}' META_TXN_RELAY_ADDRESS=0x9eFCa436873b55a0d6AEa260f92DE50150360dca META_TXN_RELAY_PRIVATE_KEY=82b9c3b8d45f608badd8fda250a0d95088381540e850734519b659e1e1ac3e71 mocha --exclude lib/test/rfqt_test.js --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --timeout 200000 --exit | |
transaction watcher signer tests | |
.getSortedSignersByAvailability | |
✓ sorts signers in order of highest balance andd lowest tx count | |
tx lifecycle | |
- submits a transaction | |
- marks a transaction as dropped if it has been seen then disappears | |
- unsticks a stuck transaction | |
1 passing (42ms) | |
3 pending | |
$ ETHEREUM_RPC_URL=http://localhost:8545 CHAIN_ID=1337 RFQT_API_KEY_WHITELIST='koolApiKey1,koolApikey2' RFQT_MAKER_ASSET_OFFERINGS='{"https://mock-rfqt1.club": [["0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c","0x0b1ba0af832d7c05fd64161e0db78e85978e8082"]]}' META_TXN_RELAY_ADDRESS=0x9eFCa436873b55a0d6AEa260f92DE50150360dca META_TXN_RELAY_PRIVATE_KEY=82b9c3b8d45f608badd8fda250a0d95088381540e850734519b659e1e1ac3e71 mocha --require source-map-support/register --require make-promises-safe lib/test/rfqt_test.js --timeout 200000 --exit | |
rfqt tests | |
1) "before all" hook in "rfqt tests" | |
2) "after all" hook in "rfqt tests" | |
0 passing (44s) | |
2 failing | |
1) rfqt tests | |
"before all" hook in "rfqt tests": | |
Error: Timed out waiting for dependency logs | |
at Timeout._onTimeout (test/utils/deployment.ts:289:20) | |
at listOnTimeout (internal/timers.js:531:17) | |
at processTimers (internal/timers.js:475:7) | |
2) rfqt tests | |
"after all" hook in "rfqt tests": | |
TypeError: Cannot read property 'close' of undefined | |
at /home/gene/dev/0x-api/test/rfqt_test.ts:82:20 | |
at new Promise (<anonymous>) | |
at Object.<anonymous> (test/rfqt_test.ts:81:15) | |
at Generator.next (<anonymous>) | |
at /home/gene/dev/0x-api/lib/test/rfqt_test.js:7:71 | |
at new Promise (<anonymous>) | |
at __awaiter (lib/test/rfqt_test.js:3:12) | |
at Context.<anonymous> (test/rfqt_test.ts:80:22) | |
at processImmediate (internal/timers.js:439:21) | |
error Command failed with exit code 2. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
error Command failed with exit code 2. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment