Merge pull request #1975 from prometheus/storage-test

storage: fix struct alignment issue in test
This commit is contained in:
Julius Volz 2016-09-11 04:26:37 +02:00 committed by GitHub
commit 815cb57af3
1 changed files with 1 additions and 1 deletions

View File

@ -152,8 +152,8 @@ func TestSampleDeliveryOrder(t *testing.T) {
// the `numCalls` property will contain a count of how many times Store() was // the `numCalls` property will contain a count of how many times Store() was
// called. // called.
type TestBlockingStorageClient struct { type TestBlockingStorageClient struct {
block chan bool
numCalls uint64 numCalls uint64
block chan bool
} }
func NewTestBlockedStorageClient() *TestBlockingStorageClient { func NewTestBlockedStorageClient() *TestBlockingStorageClient {