mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
config: Move discard_abci_responses flag into its own storage section (#9275)
* config: Move discard_abci_responses flag into its own storage section Signed-off-by: Thane Thomson <connect@thanethomson.com> * Update config comment to highlight space saving tradeoff Signed-off-by: Thane Thomson <connect@thanethomson.com> Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
committed by
Sam Ricotta
parent
28b7cd6d6e
commit
596ca4e591
@@ -453,19 +453,9 @@ func TestTransportMultiplexDialRejectWrongID(t *testing.T) {
|
||||
_, err := dialer.Dial(*addr, peerConfig{})
|
||||
if err != nil {
|
||||
t.Logf("connection failed: %v", err)
|
||||
<<<<<<< HEAD
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsAuthFailure() {
|
||||
t.Errorf("expected auth failure, got %v", e)
|
||||
||||||| parent of fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
if err, ok := err.(ErrRejected); ok {
|
||||
if !err.IsAuthFailure() {
|
||||
t.Errorf("expected auth failure, got %v", err)
|
||||
=======
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsAuthFailure() {
|
||||
t.Errorf("expected auth failure, got %v", err)
|
||||
>>>>>>> fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
}
|
||||
} else {
|
||||
t.Errorf("expected ErrRejected, got %v", err)
|
||||
@@ -500,19 +490,9 @@ func TestTransportMultiplexRejectIncompatible(t *testing.T) {
|
||||
}()
|
||||
|
||||
_, err := mt.Accept(peerConfig{})
|
||||
<<<<<<< HEAD
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsIncompatible() {
|
||||
t.Errorf("expected to reject incompatible, got %v", e)
|
||||
||||||| parent of fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
if err, ok := err.(ErrRejected); ok {
|
||||
if !err.IsIncompatible() {
|
||||
t.Errorf("expected to reject incompatible, got %v", err)
|
||||
=======
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsIncompatible() {
|
||||
t.Errorf("expected to reject incompatible, got %v", err)
|
||||
>>>>>>> fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
}
|
||||
} else {
|
||||
t.Errorf("expected ErrRejected, got %v", err)
|
||||
@@ -537,19 +517,9 @@ func TestTransportMultiplexRejectSelf(t *testing.T) {
|
||||
}()
|
||||
|
||||
if err := <-errc; err != nil {
|
||||
<<<<<<< HEAD
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsSelf() {
|
||||
t.Errorf("expected to reject self, got: %v", e)
|
||||
||||||| parent of fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
if err, ok := err.(ErrRejected); ok {
|
||||
if !err.IsSelf() {
|
||||
t.Errorf("expected to reject self, got: %v", err)
|
||||
=======
|
||||
if e, ok := err.(ErrRejected); ok {
|
||||
if !e.IsSelf() {
|
||||
t.Errorf("expected to reject self, got: %v", err)
|
||||
>>>>>>> fbd754b4d (Backport of sam/abci-responses (#9090) (#9159))
|
||||
}
|
||||
} else {
|
||||
t.Errorf("expected ErrRejected, got %v", err)
|
||||
|
||||
Reference in New Issue
Block a user