Commit bbb3c4e5 authored by Ethen Pociask's avatar Ethen Pociask

[indexer.client] Pass liint

parent 45017204
...@@ -148,10 +148,6 @@ func buildE2ETestSuite(t *testing.T, withAPI bool) E2ETestSuite { ...@@ -148,10 +148,6 @@ func buildE2ETestSuite(t *testing.T, withAPI bool) E2ETestSuite {
} }
}() }()
t.Cleanup(func() {
appStop()
})
indexerClient, err = client.NewClient(&client.Config{ indexerClient, err = client.NewClient(&client.Config{
PaginationLimit: 100, PaginationLimit: 100,
BaseURL: fmt.Sprintf("http://%s:%d", indexerCfg.HTTPServer.Host, indexerCfg.HTTPServer.Port), BaseURL: fmt.Sprintf("http://%s:%d", indexerCfg.HTTPServer.Host, indexerCfg.HTTPServer.Port),
...@@ -159,6 +155,10 @@ func buildE2ETestSuite(t *testing.T, withAPI bool) E2ETestSuite { ...@@ -159,6 +155,10 @@ func buildE2ETestSuite(t *testing.T, withAPI bool) E2ETestSuite {
require.NoError(t, err) require.NoError(t, err)
} }
t.Cleanup(func() {
appStop()
})
return E2ETestSuite{ return E2ETestSuite{
t: t, t: t,
API: indexerAPI, API: indexerAPI,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment