Skip to content

Commit

Permalink
sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Oct 24, 2024
1 parent e6f82dc commit cf3e1dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/systemtests/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"os"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand All @@ -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
Expand Down

0 comments on commit cf3e1dc

Please sign in to comment.