mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 13:05:09 +00:00
e2e: disable app tests for light client (#6672)
This commit is contained in:
@@ -39,7 +39,9 @@ func TestApp_InitialState(t *testing.T) {
|
|||||||
// block and the node sync status.
|
// block and the node sync status.
|
||||||
func TestApp_Hash(t *testing.T) {
|
func TestApp_Hash(t *testing.T) {
|
||||||
testNode(t, func(t *testing.T, node e2e.Node) {
|
testNode(t, func(t *testing.T, node e2e.Node) {
|
||||||
if node.Mode == e2e.ModeSeed {
|
// disables tests for light clients
|
||||||
|
// see https://github.com/tendermint/tendermint/issues/6671
|
||||||
|
if node.Mode == e2e.ModeSeed || node.Mode == e2e.ModeLight {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,7 +66,9 @@ func TestApp_Hash(t *testing.T) {
|
|||||||
// Tests that we can set a value and retrieve it.
|
// Tests that we can set a value and retrieve it.
|
||||||
func TestApp_Tx(t *testing.T) {
|
func TestApp_Tx(t *testing.T) {
|
||||||
testNode(t, func(t *testing.T, node e2e.Node) {
|
testNode(t, func(t *testing.T, node e2e.Node) {
|
||||||
if node.Mode == e2e.ModeSeed {
|
// disables tests for light clients
|
||||||
|
// see https://github.com/tendermint/tendermint/issues/6671
|
||||||
|
if node.Mode == e2e.ModeSeed || node.Mode == e2e.ModeLight {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user