Commit Graph

73 Commits

Author SHA1 Message Date
Ethan Buchman 293cf5e634 minor fix [ci skip] 2017-12-06 02:41:14 -05:00
Krzysztof Jurewicz 8357326db0 Fix test command 2017-12-05 18:28:15 +01:00
Adrian Brink e99e6ea0c7 Extend abci-cli to allow integration tests
This commit adds the basic test command 'abci-cli test' that will
allow developers of server for their own language to continuously test
their implementation.
2017-12-04 11:33:39 +01:00
Ethan Buchman f00a19eaad fix tutorial output to remove code msg 2017-11-30 17:36:16 -05:00
Ethan Buchman 10031f57d5 fix grpc version; add log_level and some logging 2017-11-30 17:20:36 -05:00
Ethan Buchman 24fbe291ab update glide; update services for new signature 2017-11-30 15:21:00 -05:00
Ethan Buchman 42a8e3240c remove CodeType 2017-11-30 14:29:12 -05:00
Ethan Buchman 67a81c13e2 run linter on make test 2017-11-28 07:55:07 +00:00
Ethan Buchman 9ed5787b6a tests: fix ensureABCIIsUp 2017-11-28 07:38:01 +00:00
Emmanuel Odeke 6231652e87
tests: sunset tmlibs/process.Process
Updates https://github.com/tendermint/tmlibs/issues/81

No longer using tmlibs/process.Process as we deemed
it racy and would incur a maintenance cost yet not
used anywhere else but in these tests and not in actual
code.
2017-11-27 22:50:31 -07:00
Ethan Buchman fb612e5a7b fixup tests 2017-11-27 19:52:06 +00:00
Anton Kaliaev 03fafeec2f
fix formatting of panicf function 2017-11-22 19:38:04 -06:00
Anton Kaliaev f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well 2017-11-22 17:34:00 -06:00
Anton Kaliaev fbe7234639
remove Result from the client package
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
2017-11-21 17:44:13 -06:00
Anton Kaliaev 1d49453ffb
fix integration tests (Fixes #131) 2017-11-14 12:53:40 -06:00
Ethan Buchman 66de53292e Merge pull request #117 from tendermint/cobra-not-urfave
use spf13/cobra instead of urfave/cli
2017-10-27 02:47:21 -04:00
Ethan Buchman 4884747eb7 tests: add simple client/server test with no addr prefix 2017-10-25 23:23:23 -04:00
Zach Ramsay 4479e95709 console: fix tests 2017-10-23 19:54:38 -04:00
Zach Ramsay 631844895f fixes 2017-10-23 17:18:46 -04:00
Ethan Frey 46e1f1ae65 Cleaup based on Antons PR comments 2017-10-19 14:43:34 +02:00
Ethan Frey d236e0eef9 Fix trailing whitespace in tutorial test 2017-10-19 14:38:30 +02:00
Ethan Frey bae4e4acce Fix up commits, debug cli tests 2017-10-19 14:38:29 +02:00
Zach Ramsay fe426de5d4 lint: couple more fixes 2017-09-22 09:45:50 -04:00
Ethan Buchman a3ac825490 small fix 2017-09-22 09:14:45 -04:00
Zach Ramsay 65eb7e8974 linted, somewhat 2017-09-22 09:14:25 -04:00
Zach Ramsay 6a378d30f3 linting: cover the basics 2017-09-22 09:14:25 -04:00
Ethan Buchman 5dabeffb35 fixes from review 2017-05-15 12:59:44 -04:00
Ethan Buchman eda4f2dddc NewXXXClient doesnt run Start or return error 2017-05-15 11:29:34 -04:00
Anton Kaliaev 1dc3629b1a
update log interface 2017-05-04 23:17:16 +04:00
Anton Kaliaev d2a4b16b28
introduce testing logger 2017-05-04 16:50:00 +04:00
Anton Kaliaev ce124c4aeb
modify test scripts to use relative paths 2017-05-04 16:50:00 +04:00
Anton Kaliaev 986bdd00a5
new logging 2017-05-04 16:49:59 +04:00
Ethan Buchman 28d042fdae use tmlibs 2017-04-21 18:25:13 -04:00
Ethan Buchman eaeb2658ea fixes from review 2017-03-03 18:39:10 -05:00
Jae Kwon 8df0bc3a40 Merge branch 'abci_proof' into develop 2017-01-27 22:27:32 -08:00
Jae Kwon 2a4894310d Remove Proof message, replace with more flexible Query 2017-01-27 10:35:27 -08:00
Jae Kwon 9745f07bee common -> cmn 2017-01-23 20:26:17 -08:00
Tzu-Jung Lee 55cb08722d lint: s/+=1/++, remove else clauses 2017-01-17 00:30:36 -08:00
Tzu-Jung Lee af2a66b226 test_app: unexport internal function.
This reverts commit 24c9b2761d7da5ab5084310f0cb3e51c7fc9738d.
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee 9134905f42 cleanup: replace common.Exit with log.Crit or log.Fatal
Later we can pick another logger that has fatal, like zap?
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee 1150bbfe36 lint: s/common.Fmt/fmt.Sprintf 2017-01-16 23:20:04 -08:00
Tzu-Jung Lee fcaa545e1e lint: remove dot import (go-common)
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.

The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:

  For simple wrapping functions, just inline it on the call site.
  For larger pice of code, make it an independent package.
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee aae3c91e88 fmt: run 'make fmt' 2017-01-16 22:03:27 -08:00
Ethan Buchman 5189a2248d TMSP -> ABCI 2017-01-12 16:04:32 -05:00
Ethan Buchman 80f377135b AppendTx -> DeliverTx 2017-01-12 15:27:08 -05:00
Matt Bell 4bb65366f4 Update CLI test string args 2017-01-03 19:26:37 -08:00
Jae Kwon c5f008d60f Fix TMSP tutorial outputs 2016-12-06 03:57:09 -08:00
Jae Kwon 5e83e481bf Fix tests; Update go-merkle API 2016-12-06 02:15:32 -08:00
Ethan Buchman 37b5cca87c update cli example for new query result format 2016-11-22 21:06:50 -05:00
Ethan Buchman ead192adbb test: more verbosity 2016-09-10 20:10:59 -04:00