diff --git a/tests/systemtests/export_test.go b/tests/systemtests/export_test.go index a5f655dff553..b7e8e61f9e09 100644 --- a/tests/systemtests/export_test.go +++ b/tests/systemtests/export_test.go @@ -6,6 +6,7 @@ import ( "fmt" "os" "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -18,6 +19,11 @@ func TestExportCmd_WithHeight(t *testing.T) { sut.StartChain(t) + // Wait 10s for producing blocks + time.Sleep(10 * time.Second) + + sut.StopChain() + testCases := []struct { name string args []string