From cf11f095e13a055cc56b021e40f44e852a3f2138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Thu, 19 Sep 2024 11:42:23 +0800 Subject: [PATCH] chore: fix up proto tests version: 109->110 --- .../tests/it/v110_database_meta_gc_in_progress.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/meta/proto-conv/tests/it/v110_database_meta_gc_in_progress.rs b/src/meta/proto-conv/tests/it/v110_database_meta_gc_in_progress.rs index 784c88ee54c3..23901d89b68a 100644 --- a/src/meta/proto-conv/tests/it/v110_database_meta_gc_in_progress.rs +++ b/src/meta/proto-conv/tests/it/v110_database_meta_gc_in_progress.rs @@ -31,13 +31,13 @@ use crate::common; // // The message bytes are built from the output of `test_pb_from_to()` #[test] -fn test_decode_v109_database_meta() -> anyhow::Result<()> { - let database_meta_v109 = vec![ +fn test_decode_v110_database_meta() -> anyhow::Result<()> { + let database_meta_v110 = vec![ 34, 10, 10, 3, 120, 121, 122, 18, 3, 102, 111, 111, 42, 2, 52, 52, 50, 10, 10, 3, 97, 98, 99, 18, 3, 100, 101, 102, 162, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45, 50, 56, 32, 49, 50, 58, 48, 48, 58, 48, 57, 32, 85, 84, 67, 170, 1, 23, 50, 48, 49, 52, 45, 49, 49, 45, 50, 57, 32, 49, 50, 58, 48, 48, 58, 48, 57, 32, 85, 84, 67, 178, 1, 7, 102, 111, 111, 32, 98, 97, - 114, 232, 1, 1, 160, 6, 109, 168, 6, 24, + 114, 232, 1, 1, 160, 6, 110, 168, 6, 24, ]; let want = || mt::DatabaseMeta { @@ -52,7 +52,7 @@ fn test_decode_v109_database_meta() -> anyhow::Result<()> { }; common::test_pb_from_to(func_name!(), want())?; - common::test_load_old(func_name!(), database_meta_v109.as_slice(), 109, want()) + common::test_load_old(func_name!(), database_meta_v110.as_slice(), 110, want()) } fn s(ss: impl ToString) -> String {