Merge branch 'master' into feat/storage-tendermint

This commit is contained in:
programmer10110 2020-11-24 14:23:00 +03:00
commit e54878e182
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,6 @@ func TestKafkaStorage_SendBatch(t *testing.T) {
N := 10
var offset uint64 = 5
req := require.New(t)
producerCreds := &KafkaAuthCredentials{
Username: "producer",
Password: "producerpass",
@ -82,6 +81,7 @@ func TestKafkaStorage_SendBatch(t *testing.T) {
t.Fatal(err.Error())
}
req := require.New(t)
stg, err := NewKafkaStorage(context.Background(), "localhost:9093", "test", tlsConfig, producerCreds, consumerCreds)
req.NoError(err)
@ -107,4 +107,4 @@ func TestKafkaStorage_SendBatch(t *testing.T) {
for idx, msg := range expectedOffsetMsgs {
req.Equal(msg.Signature, offsetMsgs[idx].Signature)
}
}
}