Skip to content

Commit

Permalink
chore(fvt): roll some tests back to DefaultVersion
Browse files Browse the repository at this point in the history
For some TBD reason, these tests that check metrics-values seem to fail
if run on the latest protocol versions. Need to investigate, but for now
just roll them back to DefaultVersion

Signed-off-by: Dominic Evans <[email protected]>
  • Loading branch information
dnwe committed Aug 10, 2023
1 parent f4e6453 commit 6a33de2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions functional_producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ const TestBatchSize = 1000

func TestFuncProducing(t *testing.T) {
config := NewFunctionalTestConfig()
// FIXME: KAFKA_VERSION seems to break this test
config.Version = DefaultVersion
testProducingMessages(t, config)
}

func TestFuncProducingGzip(t *testing.T) {
config := NewFunctionalTestConfig()
// FIXME: KAFKA_VERSION seems to break this test
config.Version = DefaultVersion
config.Producer.Compression = CompressionGZIP
testProducingMessages(t, config)
}
Expand All @@ -46,12 +50,16 @@ func TestFuncProducingZstd(t *testing.T) {

func TestFuncProducingNoResponse(t *testing.T) {
config := NewFunctionalTestConfig()
// FIXME: KAFKA_VERSION seems to break this test
config.Version = DefaultVersion
config.Producer.RequiredAcks = NoResponse
testProducingMessages(t, config)
}

func TestFuncProducingFlushing(t *testing.T) {
config := NewFunctionalTestConfig()
// FIXME: KAFKA_VERSION seems to break this test
config.Version = DefaultVersion
config.Producer.Flush.Messages = TestBatchSize / 8
config.Producer.Flush.Frequency = 250 * time.Millisecond
testProducingMessages(t, config)
Expand Down

0 comments on commit 6a33de2

Please sign in to comment.