Aiven-Open / karapace

Karapace - Your Apache Kafka® essentials in one tool
https://karapace.io
Apache License 2.0
450 stars 68 forks source link

Update schema_registry.py #879

Closed antoniocali closed 3 months ago

antoniocali commented 3 months ago

validate_version now check if version_number is equal to -1 and in case forward "latest"

About this change - What it does

validate_version check now if version is equals to -1 and in case forward "latest" I've modifies a test that delete a version via -1 instad of latest.

This should work as intended

Why this way

Confluent Schema Registry accept -1 as version for latest schema version

antoniocali commented 3 months ago

I'm not sure why one suite of tests failed. it looks more a timeout to me

nosahama commented 3 months ago

668 will be fixed with #885, closing this PR.