Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests, avro: add test on invalid reference schema #965

Conversation

davide-armand
Copy link
Contributor

@davide-armand davide-armand commented Sep 26, 2024

Similar to #962, but for AVRO

jjaakola-aiven and others added 17 commits September 24, 2024 10:31
The previous port selection algorithm relied on port range. The range
was from 48700 to 49000. This is 300 ports of which some may be already
reserved in the system running tests. The free ports are allocated between
the pytest workers. With 4 workers there is 75 ports for each. This causes
flakiness in the tests as ports may not be available or are still in
wait after previous tests. In the test environment it is not necessary
to select ports from IANA dynamic port assignment range. Any free port
is ok and port 0 can be used for dynamically allocated free port.
…ports-with-0-in-tests

test: select random free server ports with 0
…chema-coordinator-test-with-retries

test: add retries to schema coordinator workflow test
The test is naturally flaky. The lowest timeout is 1 ms and it is
possible to get the response in that time from Kafka. The super
class cannot be mocked easily as it is immutable.
…mmitted-flaky-test

test: remove flaky TestCommitted test
…dling-tests

tests, protobuf: add test on invalid reference schema
…om-logs

test: add a test that detect duplicate ids in a backup of thei `_schemas` topic
- we add the kafka message key to the log in the case of an error,
this makes it easier to debug issues
- we also add a check for kafka messages without a key
…a-reader-error

schema-reader: Log the erroring kafka message key
@davide-armand davide-armand changed the base branch from main to avro_references2-rebased September 26, 2024 06:58
@davide-armand davide-armand deleted the branch avro_references2-rebased September 26, 2024 07:00
@davide-armand
Copy link
Contributor Author

New PR with the correct base branch: #966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants