Commit Graph

485 Commits

Author SHA1 Message Date
Caner Çıdam 1326a1ab36 add TestAccounts 2018-01-04 09:38:53 +01:00
Caner Çıdam f3257da15e add TestLogout and test errors 2018-01-04 09:38:53 +01:00
Caner Çıdam 1f0655eba6 add TestSelectedAndReSelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam f92aff3eb0 add TestSelectedAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 48d75d135c finalize TestCreateChildAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 3fd4e04f59 workaround for EXPECT().Times(int) 2018-01-04 09:38:53 +01:00
Caner Çıdam 7b3c0d9e85 use a test suite to keep it DRY 2018-01-04 09:38:53 +01:00
Caner Çıdam 6ce30e158b remove extra lines & rename whisper service var 2018-01-04 09:38:53 +01:00
Caner Çıdam f15d16ba1e add test cases for SelectAccount 2018-01-04 09:38:53 +01:00
Caner Çıdam 3b4ee527f2 remove unnecessary comment 2018-01-04 09:38:53 +01:00
Caner Çıdam 3f952ebb50 rename 2018-01-04 09:38:53 +01:00
Caner Çıdam 521b841f53 don't fail on empty password 2018-01-04 09:38:53 +01:00
Caner Çıdam 87531d015f refactor tests 2018-01-04 09:38:53 +01:00
Caner Çıdam 18c41df326 tests for account creation and recovery 2018-01-04 09:38:53 +01:00
Adam Babik da4c0d1db9 Update Dockerfile (#521) 2018-01-03 20:50:19 +02:00
Pedro Pombeiro d4782a3f1e Change expected warning log level from `WARNING` to `WARN` (#526) 2018-01-03 15:11:21 +01:00
Donnie Adams 373fc86d1e Change Loop API to prevent it from accepting tasks when the loop is closed #415 (#448) 2017-12-28 22:50:36 +02:00
b00ris 97c473ad7a Add group messaging MailServer test case (#515)
This e2e test exchanges a message between a group of three nodes and checks if MailServer properly responds to a request for historic messages.
2017-12-26 13:21:07 +01:00
Adam Babik b7fb51d92a
Refactor shh_requestMessages method (#513) 2017-12-21 11:26:01 +01:00
Davor Kapsa 3ff44f545b travis: update go version to 1.9.x (#507) 2017-12-21 11:52:00 +07:00
Ivan Tomilov b5b8219c41 Add Code Style section into CONTRIBUTING.md (#512) 2017-12-14 09:55:44 +01:00
b00ris ba6c96532b add enode to request messages params (#508) 2017-12-12 12:00:17 +01:00
Caner Çıdam 34df7e8abb CreateAndInitCell should allow reinitializing a cell #497 (#500)
Changes Jail.createCell to Jail.obtainCell, which alters the error-throwing behaviour for better Jail.CreateAndInitCell

This PR allows cells to be reinitialized without being recreated.

Important changes:
- Calling with same cell ID won't cause any errors.
- Consecutive calls with same cell ID only reinitialize existing cell.
- Parse in library.go uses StatusAPI.CreateAndInitCell.
2017-12-08 22:32:30 +07:00
Pedro Pombeiro ee034fc880 Add instructions to install gometalinter in Readme (#506) 2017-12-08 12:54:07 +01:00
Evgeny Danilenko 919ab285d3 add password for MailServer encryption (#494) 2017-12-07 17:58:11 +01:00
b00ris 9559ff074a Support for historic messages from MailServer (#503)
Add `shh_requestMessages` RPC method. It sends a message to MailServer that can return cached, possibly expired, Whisper message.
2017-12-07 14:37:43 +01:00
Evgeny Danilenko 596b7ea2e1 whisper standalone mode (#498) 2017-12-07 13:07:45 +01:00
Roman Volosovskyi 5446a09029 send message with build version in slack (parametrized build) (#495) 2017-12-05 09:35:12 +01:00
Evgeny Danilenko 6c2ddc4455 expose AddPeer binding (#493)
AddPeer binding is required to support peers with special roles like Whisper node with MailServer.
2017-12-04 17:21:02 +01:00
Adam Babik ac76e4731f
Prepare wnode-status to support MailServer (#477) 2017-12-04 17:11:14 +01:00
Frank Mueller bddf15d74f Add internal RPC server and statusd-cli client (#463) 2017-12-02 19:51:55 +01:00
Adam Babik cbd05535ae
s/solves/closes to automatically close issues (#485)
Merging a PR will automatically close an issue now.
2017-12-01 12:08:06 +01:00
Gene 8acfc71043 Remove unused vendor libraries #198 (#480) 2017-11-30 13:36:20 +01:00
Ivan Daniluk 8776f41627 Add a Makefile target for compilation into library (#475)
This PR adds a new target to Makefile to build a static library.
2017-11-29 22:30:16 +01:00
Adam Babik d6d5945ab4
Clean up Jenkinsfile-manual and Travis (#478)
Small clean up of Jenkinsfile-manual required after rebuilding Jenkins. Also improved .travis.yml a bit.
2017-11-29 07:48:40 +01:00
Adam Babik ab29ad57ba
Upgrade to Go 1.9 (#479) 2017-11-28 15:24:43 +01:00
b00ris c530611642 Fix race #452 (#454)
It fixes race conditions in `geth/signal`.
2017-11-28 14:17:15 +01:00
b00ris 6bf980a1a7 Issue/fix dataraces in jail tests#457 (#460) 2017-11-27 22:56:52 +01:00
monokh 0a82e67379 Improve JSON-RPC handling for raw requests/responses, Fixes #364 (#458) 2017-11-27 19:53:33 +01:00
Frank Mueller 69276386d2
Merge pull request #472 from status-im/bugfix/bring-back-parse
Bring back Parse binding
2017-11-23 18:58:32 +01:00
Adam Babik a22638f421 be consistent with comments 2017-11-23 13:51:52 +01:00
Adam Babik 47d16bffd0 fix Parse 2017-11-23 13:47:20 +01:00
Adam Babik 98b3f330af bring back Parse binding 2017-11-23 13:37:59 +01:00
Ivan Daniluk 4cd362213f
Add env var to tune header writes delay (#464) 2017-11-22 21:13:11 +02:00
Adam Babik 74d3e5e625 Add workaround for testing/cgo issue (#469)
Test code in `lib` package requires cgo, but cgo is not allowed in `*_test.go` files, so we import a lot of testing-related code into a library which also has a lot of side-effects. This fix adds a build tag `e2e_test` as a workaround.
2017-11-22 15:06:14 +02:00
Ivan Daniluk 001a902407 Fix xgo invocation path after removal of env.sh (#466) 2017-11-21 15:40:52 +01:00
perissology f0beeb3829 fix failing tests in PRs from other repos, fixes #459 (#461)
Fix failing tests for users w/o access to the ACCOUNT_PASSWORD env variable. Disable e2e public network tests in Travis pull requests. Exclude lib dir from unit tests.
2017-11-20 10:21:30 -08:00
Evgeny Danienko e34a580143
travis timeout is now a sum of all timeouts 2017-11-08 11:48:21 +03:00
Evgeny Danienko 332e18a3a9
travis timeouts has been increased 2017-11-08 10:35:29 +03:00
Evgeny Danilenko 209d5fed74 Issue/fix public testnet tests #424 (#438)
* Accounts are now encrypted with a strong passphrase.
* The encrypted passphrase is stored in .travis.yml
* Public testnet tests are now run after tests on a private net
2017-11-07 12:46:11 -05:00