Commit Graph

2547 Commits

Author SHA1 Message Date
Ivan Tomilov d1c47c5358 Merge branch 'develop' into feature/linter-in-travis
# Conflicts:
#	.travis.yml
#	Makefile
2017-10-24 19:44:54 +03:00
Ivan Tomilov f80827dc1f Feature/integrate linters into ci#387 (#427)
Solves #387 linters was integrated into ci
Added inergration linters to CI
Important changes:
- new linter warnings was fixed
- extracted linters targets into separated mk file
2017-10-24 19:36:52 +03:00
Alexander Ewetumo 6b9298fbc1 Update readme 2017-10-24 16:14:26 +01:00
Alexander Ewetumo aed88e234e Restore usage of string for -network flag 2017-10-24 16:13:19 +01:00
Alexander Ewetumo ca221f41f5 Fix import usage for jail test 2017-10-24 11:50:10 +01:00
Alexander Ewetumo 33fdc7dc82 Fix import usage for jail test 2017-10-24 11:44:15 +01:00
Alexander Ewetumo 46c46436f7 Fix conflicts with develop 2017-10-24 11:36:46 +01:00
Alexander Ewetumo a2cabd9d68 Fix test to ensure consistency with checks 2017-10-24 11:35:13 +01:00
Alexander Ewetumo a1668add06 Update readme and update code for testing 2017-10-24 11:23:53 +01:00
Evgeny Danienko 0e72e3d6b4
Update notify interface and mark old one as deprecated 2017-10-24 00:47:09 +03:00
Frank Mueller e14b2331eb Made EnsureNodeSync() throws a panic instead of returning an error (#431)
EnsureNodeSync() has been changed to return no error anymore, Instead in case of an internal error or a timeout a panic is thrown.
2017-10-24 00:39:13 +03:00
Alexander Ewetumo a257d1c201 Fix errors on network chain id validation in tests 2017-10-23 18:18:09 +01:00
Alexander Ewetumo d856660d09 Update readme and fix pointer bug 2017-10-23 17:28:12 +01:00
Alexander Ewetumo aa2779d3a9 Fix missed call of StartTestBackend 2017-10-23 17:22:19 +01:00
Alexander Ewetumo 14c124aef8 Switch to flag.String from flag.StringVar, removing init() 2017-10-23 17:16:15 +01:00
Alexander Ewetumo 7718bd5990 Move all tests to retrieve NetworkId from flag or default to statuschain 2017-10-23 17:03:07 +01:00
Alexander Ewetumo a98238ad97 Add GetNetworkID function for tests 2017-10-23 14:56:47 +01:00
Alexander Ewetumo d341e385fa Add networkSelected flag for test 2017-10-23 14:27:14 +01:00
Ivan Tomilov c500fbc423 Made all tests run on StatusChain instead of Rinkeby or Ropsten (#426)
The reason is that we don't currently have a possibility to run tests on public testnets without compromising accounts and funds on them.
2017-10-23 14:05:52 +03:00
b00ris 1de852134b
fix linters warnings 2017-10-23 13:41:41 +03:00
b00ris 22fb4dfc30
integrate linters into travis 2017-10-23 13:28:48 +03:00
Adam Babik 1dcf30142d Merge branch 'develop' into feature/linter-in-travis 2017-10-23 12:07:41 +02:00
Evgeny Danienko a3bca52f51
Fmt 2017-10-22 20:41:25 +03:00
Evgeny Danienko c823acfd04
All notifiers remaned into notification 2017-10-22 20:39:57 +03:00
Evgeny Danienko d22cdc5cbb
NotifyResult doesnt return error field if success 2017-10-22 20:39:57 +03:00
Evgeny Danienko 9efed591da
Notifier constructor renamed 2017-10-22 20:39:57 +03:00
Evgeny Danienko f159ea85a0
References for marshal library responces removed 2017-10-22 20:39:57 +03:00
Eugene 42cb6446b9
Return error for notify 2017-10-22 20:39:56 +03:00
Eugene 4f9788a158
Fix tests and rename field in Notifier 2017-10-22 20:39:56 +03:00
Eugene 390495342c
Make FCM client interface private 2017-10-22 20:39:56 +03:00
Eugene c304d3e7ae
Update PN tests 2017-10-22 20:39:56 +03:00
Eugene 804ed7c10c
Remove provider interface 2017-10-22 20:39:56 +03:00
Eugene c36a51d0cf
Firebase provider tests 2017-10-22 20:39:56 +03:00
Eugene 7195fe3f92
Create message provider interface 2017-10-22 20:39:55 +03:00
Eugene 9c1aff3655
Unnecessary test checks removed 2017-10-22 20:39:55 +03:00
Eugene acd1c1527c
Basic unit testing for notification service 2017-10-22 20:39:55 +03:00
Eugene 4aaeeb6ebf
Extract notification into separete package and interface 2017-10-22 20:39:51 +03:00
Ivan Tomilov b1aa57de25 Rephrase a list 2017-10-22 19:10:41 +03:00
Ivan Tomilov a7a5315258 Make checks checked by default 2017-10-22 18:53:04 +03:00
Ivan Tomilov 1fa14aaa9f Fix spelling in PULL_REQUEST_TEMPLATE.md 2017-10-22 18:52:12 +03:00
Ivan Tomilov c23435ca37 Add PULL_REQUEST_TEMPLATE.md 2017-10-22 18:50:21 +03:00
Frank Mueller 1c8d32c451 Ensuring node synchronisation to avoid "no suitable peers available" errors (#410)
During CI tests non-deterministic failures with "no suitable peers available" happened. Reason is a not finished synchronisation after starting of node.

Added and integrated an EnsureSychronization() almost solved it, but overlapped with new added EnsureNodeSync() in merged develop. Failure stayed, so exchange new algorithm in EsureNodeSync() with former one.
2017-10-21 20:04:07 +03:00
Adam Babik a2f6889c14 remove email notifications 2017-10-20 13:35:11 +02:00
Adam Babik a21fd963de improve travis integration 2017-10-20 12:11:30 +02:00
b00ris e911666b5d Fix make lint warnings (#417)
fixed make lint warnings
cleared linter_exclude_list.txt
removed some commented code
fixed comments from #388
2017-10-20 12:06:22 +03:00
Adam Babik ad9a8777a8 fix node unit tests (#416)
Fix tests that broke after introducing #414
2017-10-19 16:45:14 +03:00
Adam Babik 2e9302c631 removed CHT root from Rinkeby (#414)
CHT roots for Rinkeby do not work as their presence prevents status-go from even starting synchronization.
2017-10-19 15:02:42 +03:00
Adam Babik b9372459cc Rebase on geth 1.7.2 (#402) 2017-10-17 12:58:04 +03:00
Ivan Tomilov 689e19e22f Fix test timeouts from 1m to 5m (#406) 2017-10-17 12:18:09 +03:00
Ewetumo Alexander 2159711fa3 Refactoring/blockchain sync#246 (#271)
PR adds a new API changes to the NodeManager to provide simple methods to validate the completed synchonization of the blockchain.
2017-10-17 01:36:36 +03:00