Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
black-adder committed Jan 28, 2019
1 parent befd26e commit 97ffc5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion integration/fixtures.go

This file was deleted.

3 changes: 1 addition & 2 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ func TestRawQueryOrderBy(t *testing.T) {
},
}
ts := newTestServerSetup(t, testConfig1, testData1)
// defer ts.close(t) // TODO(wjang): close() is panic-ing in storage/shard.go.
ts.startServer()
defer ts.stopServer(t)
defer ts.close(t)
ts.writeTestFixture(t)
client := ts.newClient()
require.NoError(t, ts.waitUntil(10*time.Second, client.serverIsHealthy))
Expand Down
4 changes: 1 addition & 3 deletions integration/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ func (ts *testServerSetup) stopServer(t *testing.T) {

func (ts *testServerSetup) stopDB(t *testing.T) {
// TODO(wjang): Delete the database files as well.
// TODO(wjang): Close() is panic-ing in storage/shard.go.
err := ts.db.Close()
require.NoError(t, err)
require.NoError(t, ts.db.Close())
}

func (ts *testServerSetup) close(t *testing.T) {
Expand Down

0 comments on commit 97ffc5f

Please sign in to comment.