You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2023/10/26 19:52:36 UTC
[avro] branch branch-1.11 updated: Remove a test that is for functionality only for Avro 1.12
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new deef854a6 Remove a test that is for functionality only for Avro 1.12
deef854a6 is described below
commit deef854a6d48ab1b9a3aa3a0636f14fac330a40e
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Thu Oct 26 22:51:52 2023 +0300
Remove a test that is for functionality only for Avro 1.12
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
lang/rust/avro/src/types.rs | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/lang/rust/avro/src/types.rs b/lang/rust/avro/src/types.rs
index 6bd2821a8..006a18e1b 100644
--- a/lang/rust/avro/src/types.rs
+++ b/lang/rust/avro/src/types.rs
@@ -2933,22 +2933,6 @@ Field with name '"b"' is not a member of the map items"#,
Ok(())
}
- #[test]
- fn test_avro_3779_bigdecimal_resolving() -> TestResult {
- let schema =
- r#"{"name": "bigDecimalSchema", "logicalType": "big-decimal", "type": "bytes" }"#;
-
- let avro_value = Value::BigDecimal(BigDecimal::from(12345678u32));
- let schema = Schema::parse_str(schema)?;
- let resolve_result: AvroResult<Value> = avro_value.resolve(&schema);
- assert!(
- resolve_result.is_ok(),
- "resolve result must be ok, got: {resolve_result:?}"
- );
-
- Ok(())
- }
-
#[test]
fn test_avro_3892_resolve_fixed_from_bytes() -> TestResult {
let value = Value::Bytes(vec![97, 98, 99]);