Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
integration: drop tick/wait kludge
Browse files Browse the repository at this point in the history
AIO was updated to solve this.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Sep 17, 2023
1 parent 1136b1f commit b71e885
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ const (
testHost = "http://" + testListenAddress
)

var (
tickEpoch = []string{
"neo-go", "contract", "invokefunction", "--wallet-config", "/config/node-config.yaml",
"-a", "NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP", "--force", "-r", "http://localhost:30333",
"707516630852f4179af43366917a36b9a78b93a5", "newEpoch", "int:10",
"--", "NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP:Global",
}
)

func TestIntegration(t *testing.T) {
versions := []string{"0.37.0", "0.38.0"}

Expand Down Expand Up @@ -355,15 +346,6 @@ func createDockerContainer(ctx context.Context, t *testing.T, image string) test
})
require.NoError(t, err)

// Have to wait this time. Required for new tick event processing.
// Should be removed after fix epochs in AIO start.
<-time.After(3 * time.Second)

_, _, err = aioC.Exec(ctx, tickEpoch)
require.NoError(t, err)

<-time.After(3 * time.Second)

return aioC
}

Expand Down

0 comments on commit b71e885

Please sign in to comment.